projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b9c7356
)
.bashrc: add MAVEN_OPTS giving Maven more memory
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 4 Jun 2014 22:00:59 +0000 (15:00 -0700)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Wed, 4 Jun 2014 22:01:27 +0000 (15:01 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
07c0f53
..
cdfad13
100644
(file)
--- 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))