Author: mircea.markus
Date: 2008-01-05 16:25:23 -0500 (Sat, 05 Jan 2008)
New Revision: 5001
Modified:
cache-bench-fwk/trunk/runNode.sh
Log:
increased the memory size for the JVM
Modified: cache-bench-fwk/trunk/runNode.sh
===================================================================
--- cache-bench-fwk/trunk/runNode.sh 2008-01-05 20:16:51 UTC (rev 5000)
+++ cache-bench-fwk/trunk/runNode.sh 2008-01-05 21:25:23 UTC (rev 5001)
@@ -5,6 +5,7 @@
CACHE_DEBUG=true
preferIPv4Stack=true
+export JVM_ARGS=-Xmx1024m
if [ -z $1 ]
then
@@ -45,8 +46,8 @@
echo executing command $START_NODE_COMMAND
$START_NODE_COMMAND
else
- TO_EXECUTE="java -cp $CLASSPATH $3 $SYS_PROPS org.cachebench.CacheBenchmarkRunner
$4"
+ TO_EXECUTE="java $JVM_ARGS -cp $CLASSPATH $3 $SYS_PROPS
org.cachebench.CacheBenchmarkRunner $4"
echo executing $TO_EXECUTE
- java -cp $CLASSPATH $3 $SYS_PROPS org.cachebench.CacheBenchmarkRunner $4
+ java $JVM_ARGS -cp $CLASSPATH $3 $SYS_PROPS org.cachebench.CacheBenchmarkRunner $4
fi
Show replies by date