> From: Peter Crowther [mailto:[EMAIL PROTECTED] > Subject: RE: What do I do with a heap dump? (OOM Permgen) > > As far as I know, public enemy #1 for eating PermGen space is > still developers using the Singleton pattern in their code > and not having listeners to null out the singleton instance > when the webapp is undeployed.
Analagous use of ThreadLocal is also a subtle contributor to the problem. The offending references must be cleared at the end of processing of each request, since listeners don't have ready access to the thread pool. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]