Wednesday, July 2, 2008

How to increase the Java heap memory for Maven 2

If you get an error OutOfMemory error while running maven 2, just increase the heap size.

for unix: export MAVEN_OPTS=-Xmx512m

for windows: set MAVEN_OPTS=-Xmx512m

No comments:

Post a Comment