[ http://jira.codehaus.org/browse/MAVEN-1728?page=comments#action_51788 ]
Tigran Antonyan commented on MAVEN-1728: ---------------------------------------- I tried to set this from commond line before running maven, and when I tried to run maven I've got an error saying -Xms1024m is not excpected here. I changed the value of MAVEN_OPTS in %MAVEN_HOME%/bin/maven file to be set up (if it's not set up yet) to be "-Xmx1024m -Xms1024m -XX:MaxPermSize=1024m" (after trying 512m for last part) and opened new cmd, when I run maven multiproject:site this time, I had the following output: (note: this is while junit-report plugin is running) .............................. .............................. all unit tests pased before this point ................................................................ [junit] Running media.BaseDataSourceTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] [ERROR] Test media.BaseDataSourceTest FAILED [junit] Running media.BaseDataStreamTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] [ERROR] Test media.BaseDataStreamTest FAILED Exception in thread "Thread-79" java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space java.lang.reflect.InvocationTargetException Exception in thread "main" java.lang.OutOfMemoryError: PermGen space please note that all of the unit tests are passing when I just run test:test goal -Tigran > 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]