If running Hudson as a Windows service, update the -Xmx512m value in
To increase the memory available to Maven, set MAVEN_OPTS in the Hudson
configuration: See Install.
Even though I had set MAVEN_OPTS in mvn.bat (see
Issues - Issues, OutOfMemoryError, Windows), I kept
getting resource issues e.g:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
To solve the problem, see Config…