Wednesday, January 06, 2010

Getting Out Of Memory while building with maven ?

Getting Out Of Memory while building with maven ?

1.Go to the Maven installation, open the mvn.bat in notepad.
2.Add this at the top of the file, set MAVEN_OPTS=-Xms1024 -Xmx1024m
3.Try building your project again.

No comments: