From 4050d661c5f0a48a5a043ec932d98707f4606dd5 Mon Sep 17 00:00:00 2001 From: Matei Zaharia Date: Mon, 1 Aug 2011 13:54:48 -0700 Subject: Updated to newest Mesos API, which includes better memory accounting by specifying per-executor memory. --- run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'run') diff --git a/run b/run index 73c4c84bd6..f7e5a82a92 100755 --- a/run +++ b/run @@ -22,8 +22,9 @@ if [ "x$MESOS_HOME" != "x" ] ; then fi if [ "x$SPARK_MEM" == "x" ] ; then - SPARK_MEM="300m" + SPARK_MEM="512m" fi +export SPARK_MEM # So that the process sees it and can report it to Mesos # Set JAVA_OPTS to be able to load native libraries and to set heap size JAVA_OPTS="$SPARK_JAVA_OPTS" -- cgit v1.2.3