limit nodetool to 32MB of heap

patch by Zenek Kraweznik; reviewed by jbellis for CASSANDRA-3124

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1183046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2011-10-13 19:26:43 +00:00
parent c671921c24
commit 9145df8973
2 changed files with 6 additions and 3 deletions

View File

@ -10,6 +10,7 @@
* (Hadoop) skip empty rows when slicing the entire row (CASSANDRA-2855)
* Fix handling of tombstone by SSTableExport/Import (CASSANDRA-3357)
* fix ColumnIndexer to use long offsets (CASSANDRA-3358)
* limit nodetool to 32MB of heap (CASSANDRA-3124)
1.0.0-final

View File

@ -55,8 +55,10 @@ case "`uname`" in
;;
esac
$JAVA -cp $CLASSPATH -Dstorage-config=$CASSANDRA_CONF \
-Dlog4j.configuration=log4j-tools.properties \
org.apache.cassandra.tools.NodeCmd $@
$JAVA -cp $CLASSPATH \
-Xmx32m \
-Dlog4j.configuration=log4j-tools.properties \
-Dstorage-config=$CASSANDRA_CONF \
org.apache.cassandra.tools.NodeCmd $@
# vi:ai sw=4 ts=4 tw=0 et