Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.7
-
None
-
Operating System: Windows XP
Platform: PC
URL: http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201002.mbox/%3C27631790.post@talk.nabble.com%3E
Description
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