Hi,
I am getting *"java.lang.OutOfMemoryError: PermGen space"*  error when I am
deloying my JAR's/bundles in servicemix. 

I am getting this error 3-4 hours after I deploy JAR's in Service Mix.

I have modified my servicemix.sh with larger values, but still getting same
error. 

      if [ "x$JAVA_PERM_MEM" != "x" ]; then
            DEFAULT_JAVA_OPTS="$DEFAULT_JAVA_OPTS -XX:PermSize=*384m*"
        fi
        if [ "x$JAVA_MAX_PERM_MEM" != "x" ]; then
            DEFAULT_JAVA_OPTS="$DEFAULT_JAVA_OPTS -XX:MaxPermSize=*512m*"
        Fi


Can you please guide me on, How can I proceed in finding out root cause?

Note: I am suspecting it might be because of openJPA Jar's that I am usig.
But not Sure about it. 

Thanks,
Abhi



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/java-lang-OutOfMemoryError-PermGen-space-in-Servicemix-tp5717224.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to