You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Veresh Jain (JIRA)" <ji...@apache.org> on 2010/06/30 04:53:51 UTC

[jira] Created: (ODE-861) DomUtils doesnot close the stream after using

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.


[jira] Updated: (ODE-861) DomUtils doesnot close the stream after using

Posted by "Veresh Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veresh Jain updated ODE-861:
----------------------------

    Attachment: domutilscleanup.patch

Attach patch closes stream once used, helps in freeing memory.

> 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.


[jira] Commented: (ODE-861) DomUtils doesnot close the stream after using

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (ODE-861) DomUtils doesnot close the stream after using

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin resolved ODE-861.
-----------------------------

    Resolution: Won't Fix

I'm closing this

> 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.