tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat OOM errors..
Date Thu, 03 Nov 2011 15:44:08 GMT
2011/11/3 Francis GALIEGUE <fge@one2team.com>:
> 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.

Also consider fixing whatever leaks your PermGen memory
Some information is here:
http://wiki.apache.org/tomcat/MemoryLeakProtection

Best regards,
Konstantin Kolinko

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


Mime
View raw message