> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: Re: memory required to run webapp without outofmemory
> 
> first I would enable your PermGen memory collector
> http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p
> ermgen-outofmemoryerror

Unfortunately, the entire premise of that blog is flawed.  The
statement:

"Objects in the permanent generation are never garbage collected; that
is, under normal circumstances when the jvm is started with normal
command line parameters."

is just blatantly false.  Why the author believes so is never made
clear, but it is clear from his later blog that his supposed "solution"
has nothing to do with his problem.

If you want evidence that the PermGen actually is collected, start
Tomcat with a large heap and JMX enabled, run some requests through a
reasonably complex app such as Lambda Probe, and look at the PermGen
with JConsole.  Undeploy the add and force some GCs - more than one may
be necessary - and the PermGen size will decrease (but probably not by
much).

 - 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]

Reply via email to