fix for linux setting
diff --git a/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh b/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh
index e637fde..576fc1f 100644
--- a/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh
+++ b/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh
@@ -57,6 +57,7 @@
 if [ $OS_NAME = $LINUX_OS ];
 then
         MEM_SIZE=`cat /proc/meminfo |grep MemTotal|awk '{print $2}'`
+	MEM_SIZE=$(($MEM_SIZE * 1000))
 else
         MEM_SIZE=`sysctl -a | grep "hw.memsize ="|awk '{print $3}'`
 fi