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 "Roar Bjurstrøm (Jira)" <ji...@apache.org> on 2021/12/16 15:40:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17460821#comment-17460821 ]
Roar Bjurstrøm commented on BATIK-939:
--------------------------------------
Would be great if a fix is included in the next release
> [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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org