ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Toulme (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-861) DomUtils doesnot close the stream after using
Date Wed, 30 Jun 2010 05:22:51 GMT

    [ https://issues.apache.org/jira/browse/ODE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883790#action_12883790
] 

Antoine Toulme commented on ODE-861:
------------------------------------

Veresh, there is no close() call for those StringWriters because the StringWriter close method
implementation does nothing. We could set the writer to null to make it clear that we are
not going to reuse it and make gc easier, but we are reaching the end of the method scope
anyway, so gc will kick in and free memory just the same.

> DomUtils doesnot close the stream after using
> ---------------------------------------------
>
>                 Key: ODE-861
>                 URL: https://issues.apache.org/jira/browse/ODE-861
>             Project: ODE
>          Issue Type: Improvement
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Veresh Jain
>         Attachments: domutilscleanup.patch
>
>
> DomUtils doesnot closes stream after using them, this could lead to memory leaks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message