xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Jacobson <jacobson.mar...@gmail.com>
Subject Re: CleanerThread never terminates, causes leaks in webapp
Date Thu, 14 Apr 2011 15:51:30 GMT
I am running a webapp (under both Tomcat 6 & 7) that exhibits the same
behaviour:

14-Apr-2011 10:32:54 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/mapmosaic] appears to have started a
thread named [Batik CleanerThread] but has failed to stop it. This is
very likely to create a memory leak.

Under normal development conditions, the app is re-deployed many times
per day, and causes an OutOfMemoryError eventually. Even if in
production, the memory leak is so slow as to be negligeable, it would
be far better to provide a hook so I can terminate it when the webapp
closes.

Martin

On 12 April 2011 21:30, tiwaris <tiwaris@gmail.com> wrote:
> I also have encountered this issue. This happens rarely. When I quit my java
> app, it sill has not released the shell (the process is still running). I
> then used jvisualvm to monitor all the running threads in my application and
> noticed that Batik CleanerThread was still running.
>
> I incorporated the patch. Will have to see if the issue reappears.
>
>
> --
> View this message in context: http://batik.2283329.n4.nabble.com/CleanerThread-never-terminates-causes-leaks-in-webapp-tp2978944p3445621.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>



-- 
>From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message