From 2ca5a6929c8632601a9dda26b0defec6d315cf93 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Wed, 4 Jun 2014 15:00:59 -0700 Subject: [PATCH] .bashrc: add MAVEN_OPTS giving Maven more memory Signed-off-by: Colin McCabe --- .bashrc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/.bashrc b/.bashrc index 07c0f53..cdfad13 100644 --- a/.bashrc +++ b/.bashrc @@ -47,6 +47,9 @@ if [ -f "${JAVA_HOME}" ]; then : else export PATH="${PATH}:${JAVA_HOME}/bin" + + # Maven always needs more memory than the default. + export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" fi # Perturb malloc so that we spot bugs quicker! export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) -- 1.6.6.rc1.39.g9a42