Page 1 of 1

PermGen space

Posted: Mon Sep 23, 2013 3:07 am
by Abhishek
I am working on BLC3.0.2 version. I have configured it to use MYSQL + Tomcat6.

I have allocated a 2GB ram for tomcat to work properly but still I am getting below error. Please help

INFO: Server startup in 37789 ms
Exception in thread "PoolCleaner[1792110529:1379922773188]" java.lang.OutOfMemoryError: PermGen space
Sep 23, 2013 1:24:32 PM org.apache.coyote.http11.Http11Processor process
SEVERE: Error processing request
java.lang.OutOfMemoryError: PermGen space

Re: PermGen space

Posted: Tue Oct 08, 2013 1:33 pm
by ctrlspace
I am experiencing the same issues on a mac with 2G allocated to tomcat for the site war.

The admin war works as expected.

Re: PermGen space

Posted: Tue Oct 08, 2013 2:13 pm
by ctrlspace
I ran the site without jrebel and it works properly.

Re: PermGen space

Posted: Wed Oct 09, 2013 10:51 am
by phillipuniverse
Well, Permgen space is a separate JVM parameter than just normal heap space. Heap space is specified by -Xmx while perm is -XX:MaxPermSize=256M.

When starting up the demo site, we start up with these parameters:

-XX:MaxPermSize=256M -Xmx512M. Within Tomcat, this would be modifying CATALINA_OPTS. I'm not sure how you specify that given that windows service dialog that you have up. Actually, you might try putting that in the 'Java Options' box.