Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 81694 invoked from network); 10 Oct 2010 17:57:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Oct 2010 17:57:14 -0000 Received: (qmail 41793 invoked by uid 500); 10 Oct 2010 17:57:14 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 41772 invoked by uid 500); 10 Oct 2010 17:57:14 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 41765 invoked by uid 99); 10 Oct 2010 17:57:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 17:57:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daniel.haischt@googlemail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 17:57:09 +0000 Received: by qyk33 with SMTP id 33so277084qyk.13 for ; Sun, 10 Oct 2010 10:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=V/GqWYrngVqG/XAKiUWCUVQajHtPR8tAtDcSbLvG5Os=; b=k12+OK2lIaYFJ3ApbokX5Qlv7QhoeJBqyyvJ9lgHp4lH84XHX6r8Nl3I4V3q5SLGA/ gTnrYvrxCgJBqDg5wi1ymHQ1QQ6SdaXqOXZAHBorOnF03o95QIed87UNXSYj8xGsAM3k ptoC5xsYsCEefTXcFj026FwLinC54YsvYKQSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xNUojSY9o5hNG55Nlvb5wAtRTsfX0f8E6I5NwmFabWRQzun/In9JIcUY7xGpMaGphT YrLCxEK7zIQhZP13VLuuvVgT/UGy/1l1/27gCbftoKLmZxPSA+OWOhT7KFPKbOCqXvgu hIOf9mI/lPa2IbWNDFk82NTOPu4VtCk1d9FRE= MIME-Version: 1.0 Received: by 10.229.220.11 with SMTP id hw11mr4237333qcb.218.1286733364551; Sun, 10 Oct 2010 10:56:04 -0700 (PDT) Received: by 10.229.239.10 with HTTP; Sun, 10 Oct 2010 10:56:04 -0700 (PDT) In-Reply-To: References: Date: Sun, 10 Oct 2010 19:56:04 +0200 Message-ID: Subject: Re: java.lang.OutOfMemoryError: PermGen space From: dsh To: user@geronimo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable At OpenEJB we are using this setting, which turned out to be appropriate. Not sure about Geronimo... -Xmx512m -XX:PermSize=3D64m -XX:MaxPermSize=3D256m Cheers Daniel On Sun, Oct 10, 2010 at 7:04 AM, mohamed.chebbi wrot= e: > 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=3D128m > > > > this is some logs : > > > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car?configuratio= nName=3Dorg.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] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car?configuratio= nName=3Dorg.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?configuratio= nName=3Dorg.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car?con= figurationName=3Dorg.apache.geronimo.framework/server-security-config/3.0-S= NAPSHOT/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] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/car?con= figurationName=3Dorg.apache.geronimo.framework/server-security-config/3.0-S= NAPSHOT/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?con= figurationName=3Dorg.apache.geronimo.framework/server-security-config/3.0-S= NAPSHOT/car > [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car?configuration= Name=3Dorg.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] : GBeanInstanceSta= te > for: > org.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car?configuration= Name=3Dorg.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?configuration= Name=3Dorg.apache.geronimo.framework/jmx-security/3.0-SNAPSHOT/car > [org.apache.geronimo.system.configuration.DependencyManager] : did not fi= nd > 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 configuratio= n > org.apache.geronimo.configs/plugin-farm-member/3.0-SNAPSHOT/car > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > org.codehaus.classworlds.NoSuchRealmException: plexus.core > =A0=A0=A0 at org.codehaus.classworlds.ClassWorld.getRealm(ClassWorld.java= :128) > =A0=A0=A0 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.= java:434) > =A0=A0=A0 at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > ERROR: EventDispatcher: Error during dispatch. (java.lang.OutOfMemoryErro= r: > 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. >