[
https://issues.apache.org/jira/browse/SYNAPSE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921935#action_12921935
]
Hiranya Jayathilaka commented on SYNAPSE-701:
---------------------------------------------
Andreas,
Under what circumstances these files may not get cleaned up? Can we fix those
instances to properly remove the temp files by calling the release method?
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]