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,

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

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).

[attachment=0:7ihug8h2]logs.zip[/attachment:7ihug8h2]

Any help would be appreciated. Thanks in advance.

Denis
  • SOLVED: java.lang.OutOfMemoryError: PermGen space
    2011/06/07 20:40

    tyurk Good morning,<br/><br/>---SOLVED---<br/>Solution was to add -XX:MaxPermSize=256m to JAVA_OPTS<br/>---/SOLVED---<br/><br/>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).<br/><br/>[attachment=0:7ihug8h2]<!-- ia0 -->logs.zip<!-- ia0 -->[/attachment:7ihug8h2]<br/><br/>Any help would be appreciated. Thanks in advance.<br/><br/>Denis

  • Number of messages  38
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    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