xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48771] New: CleanerThread never terminates, causes leaks in webapp
Date Thu, 18 Feb 2010 19:55:24 GMT
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: batik-dev@xmlgraphics.apache.org
        ReportedBy: jec@gatekeeper.com


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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message