X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=.bashrc;h=cdfad1346ab8db4b5c62e319b37b0706b72ebd66;hb=0690197906a1e220375d05ab454d111cfbefc545;hp=07c0f534ba106b20da02d362d5facd1a8491fa38;hpb=a62bed0dfcacb855a82216b8ea636b52c26e5e38;p=cmccabe-etc 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))