Java memory settings are not defined like system properties - You shouldn't use '-D'. Try this:
   set MAVEN_OPTS="-Xms=1024M -Xmx=1024M"

This might not solve Your problem, but it should fix the memory reservation/allocation.

BTW: I wouldn't modify the mvn.bat. Just set the MAVEN_OPTS as an environment var.


On 12/05/11 18:53, javadaisy wrote:
I tried adding set MAVEN_OPTS=-DXms_1024M -DXmx=1024M in mvn.bat.  It didn't
work

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to