Permalink
Browse files

ACCUMULO-620 remove the guesses for VM sizes

git-svn-id: https://svn.apache.org/repos/asf/accumulo/trunk@1424471 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 70c1d92 commit f1c1ae6fa64b04601b5af862300f51cc74b75532 Eric C. Newton committed Dec 20, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 bin/accumulo
View
16 bin/accumulo
@@ -44,22 +44,6 @@ test -n "$ZOOKEEPER_HOME" || export ZOOKEEPER_HOME=`locationByProgram zkCli.sh`
DEFAULT_GENERAL_JAVA_OPTS=""
-BIG=6g
-MED=3g
-SMALL=512m
-if ! "$JAVA_HOME/bin/java" -Xms10g -Xmx10g >/dev/null 2>&1 ; then
- BIG=3g
- MED=1g
- SMALL=256m
-fi
-
-test -n "$ACCUMULO_TSERVER_OPTS" || export ACCUMULO_TSERVER_OPTS="-Xmx$BIG -Xms$BIG "
-test -n "$ACCUMULO_MASTER_OPTS" || export ACCUMULO_MASTER_OPTS="-Xmx$MED -Xms$MED "
-test -n "$ACCUMULO_GC_OPTS" || export ACCUMULO_GC_OPTS="-Xmx$SMALL -Xms$SMALL "
-test -n "$ACCUMULO_MONITOR_OPTS" || export ACCUMULO_MONITOR_OPTS="-Xmx$MED -Xms$SMALL "
-test -n "$ACCUMULO_LOGGER_OPTS" || export ACCUMULO_LOGGER_OPTS="-Xmx$MED -Xms$SMALL "
-test -n "$ACCUMULO_GENERAL_OPTS" || export ACCUMULO_GENERAL_OPTS="$DEFAULT_GENERAL_JAVA_OPTS"
-test -n "$ACCUMULO_OTHER_OPTS" || export ACCUMULO_OTHER_OPTS="-Xmx$MED -Xms$SMALL "
# ACCUMULO_XTRAJARS is where all of the commandline -add items go into for reading by accumulo.
if [ "$1" = "-add" ] ; then

0 comments on commit f1c1ae6

Please sign in to comment.