[ http://jira.codehaus.org/browse/MAVEN-1728?page=comments#action_51691 ] 

Carlos Sanchez commented on MAVEN-1728:
---------------------------------------

PermGen space is a different option, not -Xmx
Try MAVEN_OPTS=-XX:MaxPermSize=512m

> MAVEN_OPTS is not being set correctly
> -------------------------------------
>
>          Key: MAVEN-1728
>          URL: http://jira.codehaus.org/browse/MAVEN-1728
>      Project: Maven
>         Type: Bug
>     Versions: 1.1-beta-2
>  Environment: windows xp
>     Reporter: Tigran Antonyan
>     Priority: Blocker

>
>
> I set the MAVEN_OPTS to -Xmx1024m (tried from command line and 
> %MAVEN_HOME%/bin/maven) and it still fail the build when JVM memory use gets 
> up to 220m with either outOfMemory or java heap size exception
> here is a part of the output:
> Root cause
> java.lang.OutOfMemoryError: PermGen space
> Thanks Tigran

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to