You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2005/06/07 15:42:43 UTC
[jira] Resolved: (XALANJ-2128) Finalizer in XRTreeFrag (xalan.jar) causes lots of loitered objects (memory leak).
[ http://issues.apache.org/jira/browse/XALANJ-2128?page=all ]
Henry Zongaro resolved XALANJ-2128:
-----------------------------------
Fix Version: CurrentCVS
Resolution: Fixed
This problem was fixed in CVS by Igor Hersht. I don't think Igor ever opened a bug report for this problem. The fix will be included in the Xalan-J 2.7.0 release.
> Finalizer in XRTreeFrag (xalan.jar) causes lots of loitered objects (memory leak).
> ----------------------------------------------------------------------------------
>
> Key: XALANJ-2128
> URL: http://issues.apache.org/jira/browse/XALANJ-2128
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: 2.6
> Reporter: Faizan Ahmed
> Fix For: CurrentCVS
> Attachments: XRTreeFrag_GCRoots_1.jpg, XRTreeFrag_GCRoots_2.jpg, XRTreeFrag_RetainedObjects.jpg
>
> Finalizer in XRTreeFrag (xalan.jar) causes lots of loitered objects. Since there is a clean up method destruct() available and all the clients should call this clean up method rather rely on finalizer.
> Because of finalizer in this class these objects gets put on finalizer queue and dont get cleaned when they go out of scope. Finalizer is provided probably as a safty net here but this is hurting swearly.
> The fix should be simple remove finalizer from this class. I have tested it and it did clean up the resources and fix the memory leak.
> The attached snapshots should help to explain this fact (both leaked Objects and after the fix no memory leak because of XRTreeFrag).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org