Steve Lawrence created DAFFODIL-1867:
----------------------------------------

             Summary: Memory leak in Register
                 Key: DAFFODIL-1867
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1867
             Project: Daffodil
          Issue Type: Bug
          Components: Back End
    Affects Versions: 2.0.0
            Reporter: Steve Lawrence
            Assignee: Steve Lawrence
            Priority: Critical
             Fix For: 2.1.0


The charsReadUntilDelim field inside the Registers class is a StringBuilder. It 
is allocated once, and appended to frequently, but it is never reset or used. 
Since it is never reset and continually appended to, it will effectively leak 
memory since Registers are never freed.

We either need to reset this field like other StringBuilders or just remove it 
entirely.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to