You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "dian hina (Jira)" <ji...@apache.org> on 2021/06/26 20:29:02 UTC
[jira] [Updated] (BATIK-939) [PATCH] CleanerThread never
terminates, causes leaks in webapp
[ https://issues.apache.org/jira/browse/BATIK-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dian hina updated BATIK-939:
----------------------------
oke finish
> [PATCH] CleanerThread never terminates, causes leaks in webapp
> --------------------------------------------------------------
>
> Key: BATIK-939
> URL: https://issues.apache.org/jira/browse/BATIK-939
> Project: Batik
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.7
> Environment: 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
> Reporter: Joel Carranza
> Assignee: Batik Developer's Mailing list
> Labels: PatchAvailable
> Attachments: CleanerThread.java.patch, CleanerThread.java.patch
>
>
> 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]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org