Subject: RE: What do I do with a heap dump? (OOM Permgen) 2007-11-02 - By Caldarale, Charles R
Back > From: Peter Crowther [mailto:Peter.Crowther@(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@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|