Maven environment variables (2.9)
Sept 30, 2016
Comments
May 14, 2015
Not really removed just changed to
-XX:MaxMetaspaceSize=512m
You need that one or you'll probably run out of memory.
May 14, 2015
The PermSize and MetaspaceSize flags are slightly different due to a restructure in the handling of the class metadata in the JVM.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6964458
A full trunk build with the maven_opts I had above seems to work fine for me, but like always, YMMV
On Sakai 11, the MAVEN_OPTS should not include the -XX parameters as they have been removed in the Java 8 JVM. The new parameters for Java 8 are:
export MAVEN_OPTS='-Xms256m -Xmx512m'