Back Forum Reply New

java.lang.OutOfMemoryError: PermGen space error with tc sever developer edition

Hi Friends,

I am using tc-server-developer-2.0.3.RELEASE and my OS is WindowsXP.I deployed my application to tc-server and able to see the login page.But after login to the application i am getting java.lang.OutOfMemoryError: PermGen space error.

In my exisitng tomcat server environment the jvm_opts setting
is -Xmx1024m.

So I tried update the tc-server jvm setting to  -Xmx1024m and my experiments are endwith unsuccessfully.

First ,I updated the values in spring-insight-instance\conf\wrapper.conf file
i.e: wrapper.java.additional.8=-Xmx512m to
wrapper.java.additional.8=-Xmx1024m.
But after this change I am unable to see the application login page ,also the ucl insight is not loading.

Then I tried to change the values using
spring-insight-instance\bin\setenv.bat file.ie set CATALINA_OPTS=-Xmx1024m

But after that change also I am facing java.lang.OutOfMemoryError: PermGen space error.

Please help me to resolve java.lang.OutOfMemoryError: PermGen space error.

@newToTc,

Add quot;MaxPermSizequot; ( what is it: -XX:MaxPermSize )

these settings may help you: 2010/08/26/tomcat-add-memory/Code:
JAVA_OPTS=quot;-Xms512m -Xmx1024m -XX:MaxPermSize=384m -Xss128kquot;
/Anatoly

P.S. If that doesn't help set these:Code:
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabledThanks litius ,Its worked for me

I made the change in wraaper.conf file as
wrapper.java.additional.8=-Xms512m -Xmx1024m -XX:MaxPermSize=384m .
¥
Back Forum Reply New