Jahia Dev Forum > SOLVED: java.lang.OutOfMemoryE...

0 (0 Good)
0 (0 Bad)

SOLVED: java.lang.OutOfMemoryError: PermGen space

by  tyurk »  2011/06/07 20:40

Good morning,

Solution was to add -XX:MaxPermSize=256m to JAVA_OPTS

I am attempting to build jahia community edition (6.0 stable branch) on MacOSX 10.6, JDK 1.6 (built-in), Tomcat 6.0.24. Build was successful and although java seems to ignore environment variables on MacOSX, I have hard-coded the following into catalina.sh to ensure they get used: -Djava.awt.headless=true -Xmx2048m -Xms64m (tried with -Xms512m to no avail). Unfortunately, any attempt to access localhost:8080/cms gives no result in the browser. Meanwhile, the error posted as subject occurs in catalina.out within some time after the attempted access. jahia.log doesn't seem to reflect the issue, but I've included both for good measure (logs.zip).


Any help would be appreciated. Thanks in advance.



Number of messages  38
Registration date

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page