aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2011-08-01 13:54:48 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2011-08-01 13:54:48 -0700
commit4050d661c5f0a48a5a043ec932d98707f4606dd5 (patch)
tree53dff6fc74b932b4da77720defe6aacb078f31a9 /run
parentd12122502b866653735714adac491f3a162d2c0d (diff)
downloadspark-4050d661c5f0a48a5a043ec932d98707f4606dd5.tar.gz
spark-4050d661c5f0a48a5a043ec932d98707f4606dd5.tar.bz2
spark-4050d661c5f0a48a5a043ec932d98707f4606dd5.zip
Updated to newest Mesos API, which includes better memory accounting
by specifying per-executor memory.
Diffstat (limited to 'run')
-rwxr-xr-xrun3
1 files changed, 2 insertions, 1 deletions
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"