$MAVEN_OPTS
¿Your maven dies with an OutOfMemory error? I was poking around $MAVEN_HOME/bin/maven when i found:
if [ -z "$MAVEN_OPTS" ] ; then
MAVEN_OPTS="-Xmx256m"
fi
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
so now i can tweak the VM for better maven performance!
0 comments