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:
MAVEN_OPTS
1 2export MAVEN_OPTS=-Xmx512m
1 2
export MAVEN_OPTS=-Xmx512m
Rate this page: