At OpenEJB we are using this setting, which turned out to be appropriate. Not sure about Geronimo...
-Xmx512m -XX:PermSize=64m -XX:MaxPermSize=256m Cheers Daniel On Sun, Oct 10, 2010 at 7:04 AM, mohamed.chebbi <[email protected]> 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 > > > > this is some logs : > > > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car > State changed from stopped to starting > [org.apache.geronimo.kernel.config.Configuration] : Started configuration > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car > State changed from starting to running > [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded > Configuration > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car > State changed from stopped to starting > [org.apache.geronimo.kernel.config.Configuration] : Started configuration > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car > State changed from starting to running > [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded > Configuration > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car > State changed from stopped to starting > [org.apache.geronimo.kernel.config.Configuration] : Started configuration > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState > for: > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car > State changed from starting to running > [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded > Configuration > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car > [org.apache.geronimo.system.configuration.DependencyManager] : did not find > geronimo-plugin.xml for bundle org.apache.geronimo.modules.geronimo-farm > [69] > [org.apache.geronimo.kernel.config.Configuration] : Started configuration > org.apache.geronimo.configs/plugin-farm-member/3.0-SNAPSHOT/car > [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration > org.apache.geronimo.configs/plugin-farm-member/3.0-SNAPSHOT/car > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > org.codehaus.classworlds.NoSuchRealmException: plexus.core > at org.codehaus.classworlds.ClassWorld.getRealm(ClassWorld.java:128) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:434) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > ERROR: EventDispatcher: Error during dispatch. (java.lang.OutOfMemoryError: > PermGen space) > java.lang.OutOfMemoryError: PermGen space > > > best reguards > ________________________________ > View this message in context: java.lang.OutOfMemoryError: PermGen space > Sent from the Users mailing list archive at Nabble.com. >
