2011/11/3 Francis GALIEGUE <f...@one2team.com>:
> 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.

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to