How to solve: "ERROR: Maven JVM terminated unexpectedly with exit code 137"

In case your Jenkins CI fails to complete building your project but only logging the following:

ERROR: Maven JVM terminated unexpectedly with exit code 137

It means maven does NOT have enough memory available. To solve this, simply increase your MAVEN_OPTS memory. Or you may need to increase your system's memory. This is very likely if you run your Jenkins on a virtual machine and you are stingy of memory.

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows