You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2017/11/29 16:42:00 UTC
[jira] [Created] (DAFFODIL-1867) Memory leak in Register
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)