On Oct 10, 2010, at 1:04 AM, mohamed.chebbi wrote: > hi > > i'm tring to build geronimo from trunc > > but i still get : > > java.lang.OutOfMemoryError: PermGen space > > > with mvn clean install > > > i have MAVEN_OPTS set to: > > %echo $MAVEN_OPTS > -Xms256m -Xmx512m -XX:MaxPermSize=128m
Mohamed, Please don't post the same question to both our dev list and our user list. Ted posted on the user list the following: On Oct 10, 2010, at 9:23 AM, Ted Kirby wrote: > I recently updated > https://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html for > this to say: > > For 3.0, use at least: > > MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=200m" I build with the following options using maven 2.2.1: MAVEN_OPTS="-Xmx1024m -Xms512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError" I expect that my settings are larger than need be, but they work... --kevan
