[ 
https://issues.apache.org/jira/browse/SYNAPSE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hiranya Jayathilaka resolved SYNAPSE-701.
-----------------------------------------

       Resolution: Invalid
    Fix Version/s: 2.1

It turns out the finalizer has nothing to with the OOM issue. It was some other 
synchronization issue in the NHTTP transport which has been fixed. We can 
afford to live with the finalizer.
                
> Remove the finalize method of the TemporaryData.java in commons module of 
> synapse
> ---------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-701
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-701
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>             Fix For: 2.1
>
>
> A finalize method can cause delayed garbage collection as well as it doesn't 
> guarantee a clean. This can lead to potential Out of Memory errors if these 
> classes are used very frequently. Also this method is redundant because this 
> object has a explicit release method. So I suggest we remove this redundant 
> method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to