tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Ogilvie" <Dale_Ogil...@trimble.com>
Subject RE: Tomcat OOM errors..
Date Fri, 04 Nov 2011 01:35:38 GMT
Permgen memory leaks can cause those permgen OOM.

One common cause is webapps not cleaning up after themselves on context
shutdown. This leaks every loaded class from the webapp into the permgen
whenever the application is unloaded.

Knowing this one can workaround these leaks by being careful with
application redeploys, or restarting tomcat occasionally, if you can't
locate and fix the leaks in the webapp.

-----Original Message-----
From: celtic man [mailto:dheerajmannem@hotmail.com] 
Sent: Friday, 4 November 2011 4:26 a.m.
To: users@tomcat.apache.org
Subject: Tomcat OOM errors..


I see these errors(tomcat 6) :

Exception in thread "http-bio-8080-exec-21"
java.lang.OutOfMemoryError: PermGen space Exception in thread
"com.mchange.v2.async.ThreadPoolAsynchronousRunner
$PoolThread-#0" java.lang.OutOfMemoryError: PermGen space

And checked the the JAVA parameters : CATALINA_OPTS=-Xmx4000M

Do i need to change that to
=-Xms2048M -Xmx2048M -XX:Permsize=512m - XX:MaxPermsize=512m  ??


Anticipating a favorable reply.
--
View this message in context:
http://old.nabble.com/Tomcat-OOM-errors..-tp32773665p32773665.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message