mirror of https://github.com/apache/cassandra
sstablescrub respects MAX_HEAP_SIZE
Patch by Mina Naguib, reviewed by brandonwilliams for CASSANDRA-5562
This commit is contained in:
parent
3950de9e83
commit
14139455a5
|
|
@ -32,6 +32,7 @@ Merged from 1.1
|
|||
* Fix trying to load deleted row into row cache on startup (CASSANDRA-4463)
|
||||
* fsync leveled manifest to avoid corruption (CASSANDRA-5535)
|
||||
* Fix Bound intersection computation (CASSANDRA-5551)
|
||||
* sstablescrub now respects max memory size in cassandra.in.sh (CASSANDRA-5562)
|
||||
|
||||
|
||||
1.2.4
|
||||
|
|
|
|||
|
|
@ -43,7 +43,11 @@ if [ -z $CLASSPATH ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
$JAVA -ea -cp $CLASSPATH -Xmx256M \
|
||||
if [ "x$MAX_HEAP_SIZE" = "x" ]; then
|
||||
MAX_HEAP_SIZE="256M"
|
||||
fi
|
||||
|
||||
$JAVA -ea -cp $CLASSPATH -Xmx$MAX_HEAP_SIZE \
|
||||
-Dlog4j.configuration=log4j-tools.properties \
|
||||
org.apache.cassandra.tools.StandaloneScrubber "$@"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue