tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: Tomcat OOM errors..
Date Thu, 03 Nov 2011 15:36:27 GMT
On Thu, Nov 3, 2011 at 16:25, celtic man <dheerajmannem@hotmail.com> wrote:
>
> 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  ??
>

-Xmx only affects the heap, and here you have an OOM at the permgen
level, so yes you need to use -XX:MaxPermSize.

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message