Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
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: