https://issues.apache.org/bugzilla/show_bug.cgi?id=48771
Summary: CleanerThread never terminates, causes leaks in webapp
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Utilities
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25020)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25020)
Exposes an exit method in CleanerThread
org.apache.batik.util.CleanerThread does not self-terminate, nor is there a way
to dispose of it programatically. When using Batik within a webapp, this
prevents the webapp's classloader from being garbage collected, eventually
causing PermGen: Out of Memory errors after several webapp redeploys.
CleanerThread should expose some method that allows for it to be terminated.
Patch attached which follows the same solution used in geotools package
[https://fisheye.codehaus.org/browse/GEOT-2742]
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]