tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: memory required to run webapp without outofmemory
Date Mon, 03 Dec 2007 03:04:35 GMT
> From: [] 
> Subject: Re: memory required to run webapp without outofmemory
> first I would enable your PermGen memory collector
> ermgen-outofmemoryerror

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

"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

 - Chuck

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message