-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I've just started using versions of Tomcat 6 that have the memory leak
prevention listener available and enabled in development, and I just saw
this message in catalina.out when I shut down my Cocoon webapp:

SEVERE: The web application [/cocoon] created a ThreadLocal with key of
type [java.lang.ThreadLocal] (value [java.lang.threadlo...@d2efa1]) and
a value of type [org.apache.xerces.parsers.SAXParser] (value
[org.apache.xerces.parsers.saxpar...@15d4273]) but failed to remove it
when the web application was stopped. This is very likely to create a
memory leak.

So, it looks like Cocoon is sticking SAXParser objects into ThreadLocals
and not cleaning them up.

I'm going to be talking to the Cocoon folks about this to see if they
can look into fixing it, but I figured that the Tomcat community in
general would like to know that Cocoon is a component that is likely to
cause PermGen exhaustion when redeployments are common.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzwKGIACgkQ9CaO5/Lv0PB+AwCgnX0+dPXsQyNvj5oPwV6UZ8XX
Bc0AoLVkym6/B8YATpmpr7CXWpYxRlj6
=I9y+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to