Maven failure executing javac OutOfMemoryError
January 07, 2010 23:20:45 Last update: January 07, 2010 23:23:16
I got this error executing maven:
The solution is to increase the heap size with MAVEN_OPTS:
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