> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > Can you observe your heap and which ClassLoaders are still hanging > around? You might want to check to see how many > org/apache/catalina/loader/WebappClassLoader objects are still "live". > In my web application, just after a Tomcat startup, I have 2 instances > of this class, both of which are "live".
"Live" is a critical attribute here - unless a full GC (or two) is done, unused classes and classloaders will still be present. Use JConsole to trigger GCs, if needed. - 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.