You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by abhishek jain <ab...@gmail.com> on 2010/09/15 08:29:19 UTC

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

> On Fri, Jul 9, 2010 at 6:10 PM, Brian Thompson <el...@gmail.com>wrote:
>
>> Oh, I misunderstood.  I thought you were seeing this during
>> development, not when running the app on a remote server.
>>
>> In this case, you will need to update the Catalina startup script.
>> These pages have more info:
>>
>>
>> http://www.gria.org/documentation/5.2/faq/tomcat-outofmemory-error-permgen-space
>> http://stackoverflow.com/questions/473011/recurring-permgen-in-tomcat-6
>>
>> -Brian
>>
>>
hi all,
this problem of Permgen space error has been still anoying me,

I have the following in my bin/catalina.sh

JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"


but still the problem occurs once a day,

Pl. help

thanks
abhishek

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

Posted by Lukasz Lenart <lu...@googlemail.com>.
2010/9/15 abhishek jain <ab...@gmail.com>:
> I have the following in my bin/catalina.sh
>
> JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"

I think, you must lower the numbers, it's giving 2,5G in totla and as
I remember JVM had always a problem with allocation over 2G

And more info would be helpful (OS, RAM, etc)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org