dev@glassfish.java.net

Re: v3 build: OutOfMemoryError

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Tue, 23 Jun 2009 16:53:19 -0700

Hi Marina,

They are set in the OS environment.
e.g.
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=512m"

HTH,
Jane



Marina Vatkina wrote:
> Hi Jane,
>
> Where are they set?
>
> thanks,
> -marina
>
> Jane Young wrote:
>> Hi Marina,
>>
>> Please increase PermGen space:
>> "-XX:MaxPermSize=512m" in MAVEN_OPTS.
>>
>> Jane
>>
>>
>> Marina Vatkina wrote:
>>
>>> I have a good x86 desktop :(
>>>
>>> [INFO] Building Embedded GlassFish API
>>> [INFO] task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] [enforcer:enforce {execution: enforce-versions}]
>>> [INFO] [osgiversion:compute-osgi-version {execution:
>>> compute-osgi-version}]
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 32 source files to
>>> /export/v3/v3/embedded/api/target/classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------
>>> constituent[0]:
>>> file:/export/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
>>> constituent[1]:
>>> file:/home/mvatkina/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
>>>
>>> constituent[2]:
>>> file:/home/mvatkina/.m2/repository/org/glassfish/build/maven-glassfishbuild-extension/3.0-SNAPSHOT/maven-glassfishbuild-extension-3.0-SNAPSHOT.jar
>>>
>>> ---------------------------------------------------
>>> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>