Maven failure executing javac OutOfMemoryError 

Joined:
08/13/2009
Posts:
172

January 07, 2010 23:20:45    Last update: January 07, 2010 23:23:16
I got this error executing maven:
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space


The solution is to increase the heap size with MAVEN_OPTS:
MAVEN_OPTS=-Xmx512m -Xms512m
mvn package
Share |
| Comment  | Tags
3 comments