OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | Febuary 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[exoplatform] Re: PermGen Space Headache


Hello Luis,

You are right, MAVEN_OPTS where ignored by the script. Thanks for spotting that. I just fixed it.
Please update and get the new exoenv.sh.

Now MAVEN_OPTS shoud be used at build time and JAVA_OPTS by tomcat runtime.
I am not sure if such a huge MaxPermSize is needed but I have set it to 128 because I also have OutOfMemoryError sometimes.

I also recommand using java5 for now, but let us know if you have some success with java6.


regards,


--
Patrice Lamarque
eXo Platform SAS

On Thu, Feb 14, 2008 at 11:21 AM, Luis Arias <kaaloo@xxxxxxxxx> wrote:
Hi,

What are the right settings for not running out of PermGen space when
building ultimate ?  I've tried increasing MaxPermSize successively in
the exoenv.sh script to no avail.  I feel that the settings are not
being taken into account.  Is there an order involved ? I'm building
on latest java 6.

MAVEN_OPTS="-Xshare:auto -Xms128m -Xmx512m -XX:MaxPermSize=512m"

#echo "This is a test"
JAVA_OPTS="-Xshare:auto -Xms128m -Xmx512m -XX:MaxPermSize=512m
-Dexo.directory.base=$EXO_BASE_DIRECTORY"

Thanks,

--
Luis Arias
+33 6 14 20 87 93
skype : kaaloo


--
You receive this message as a subscriber of the exoplatform@xxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
For general help: mailto:sympa@xxxxxxx?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.