Last updated Dec 8, 2017

Maven runs out of memory

You may need to allocate more memory to Maven in order to complete your build. You can do so by setting an environment variable called MAVEN_OPTS. For example:

1
2
export MAVEN_OPTS=-Xmx512m

Rate this page: