Maven OutOfMemory

less than 1 minute read

<FONT SIZE=2 FACE="Courier New">    [javac] The system is out of resources.</FONT>
<FONT SIZE=2 FACE="Courier New">    [javac] Consult the following stack trace for details.</FONT>
<FONT SIZE=2 FACE="Courier New">    [javac] java.lang.OutOfMemoryError</FONT>
<FONT SIZE=2 FACE="Courier New">[INFO] ------------------------------------------------------------------------</FONT>
<FONT SIZE=2 FACE="Courier New">[ERROR] BUILD ERROR</FONT>
<FONT SIZE=2 FACE="Courier New">[INFO] ------------------------------------------------------------------------</FONT>



The solution : MAVEN_OPTS=-Xmx512m

Categories:

Updated:

Leave a Comment