More specifically, you can set these options with the following at the top of the mvn.bat file:

   set MAVEN_OPTS=-XX:MaxPermSize=128m -XX:PermSize=64m



Rick Rineholt wrote:

I received the below error on builds .. added the following javac arguments to mvn.bat to resolve: -XX:MaxPermSize=128m -XX:PermSize=64m
Don't ask me what, or why answer provided via Googling.  YMMV
[INFO] Compilation failure

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: PermGen space






Reply via email to