You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/11/22 23:59:06 UTC

[jira] Commented: (MAVEN-1728) MAVEN_OPTS is not being set correctly

    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org