> From: Vinu Varghese [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat-6.0.10 OutOfMemoryError > > Please check this > http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p > ermgen-outofmemoryerror
Unfortunately, the blogger is simply wrong in his premise that the default GC mechanism won't collect objects in the PermGen. All Sun JVMs have always garbage collected unreachable class objects unless prevented by command line options. It's only the relatively new concurrent GC implementation that does not, by default, free up dead classes; for that, you need the extra parameters as described in the blog. Enabling concurrent GC can have some side effects: it's less efficient, requiring more CPU cycles to get the job done, and requires more frequent, albeit very short, app pauses. Whether it's better in your particular environment depends entirely on the requirements of that environment. - 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]