On Thu, Nov 3, 2011 at 16:25, celtic man <dheerajman...@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
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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

Reply via email to