You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "mohamed.chebbi" <mh...@gmail.com> on 2010/10/10 07:08:13 UTC

java.lang.OutOfMemoryError: PermGen space

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: http://apache-geronimo.328035.n3.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp1673175p1673175.html
Sent from the Development mailing list archive at Nabble.com.

Re: java.lang.OutOfMemoryError: PermGen space

Posted by "mohamed.chebbi" <mh...@gmail.com>.
hi

is fine

thank you


-----
best reguards
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp1673175p1700818.html
Sent from the Development mailing list archive at Nabble.com.

Re: java.lang.OutOfMemoryError: PermGen space

Posted by Ted Kirby <te...@gmail.com>.
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"

On Sun, Oct 10, 2010 at 8:50 AM, Ivan <xh...@gmail.com> wrote:
> How about using more bigger memory size for those parameters, like use
> -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m. ?
>
> 2010/10/10 mohamed.chebbi <mh...@gmail.com>
>>
>> the revision is :
>>
>> Revision 1006251
>>
>> -----
>> best reguards
>> --
>> View this message in context:
>> http://apache-geronimo.328035.n3.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp1673175p1673186.html
>> Sent from the Development mailing list archive at Nabble.com.
>
>
>
> --
> Ivan
>

Re: java.lang.OutOfMemoryError: PermGen space

Posted by Ivan <xh...@gmail.com>.
How about using more bigger memory size for those parameters, like use
-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m. ?

2010/10/10 mohamed.chebbi <mh...@gmail.com>

>
> the revision is :
>
> Revision 1006251
>
> -----
> best reguards
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp1673175p1673186.html
> Sent from the Development mailing list archive at Nabble.com.
>



-- 
Ivan

Re: java.lang.OutOfMemoryError: PermGen space

Posted by "mohamed.chebbi" <mh...@gmail.com>.
the revision is :

Revision 1006251

-----
best reguards
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp1673175p1673186.html
Sent from the Development mailing list archive at Nabble.com.