aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authortedyu <yuzhihong@gmail.com>2015-03-04 11:00:52 +0000
committerSean Owen <sowen@cloudera.com>2015-03-04 11:00:52 +0000
commit8d3e2414d430e1a0eb209eacba2cf739f3eab0c5 (patch)
tree8b6ccc21e922607adf609dd2de7d0eee3f5d8aa5 /core/src
parent76e20a0a03cf2c02db35e00271924efb070eaaa5 (diff)
downloadspark-8d3e2414d430e1a0eb209eacba2cf739f3eab0c5.tar.gz
spark-8d3e2414d430e1a0eb209eacba2cf739f3eab0c5.tar.bz2
spark-8d3e2414d430e1a0eb209eacba2cf739f3eab0c5.zip
SPARK-6085 Increase default value for memory overhead
Author: tedyu <yuzhihong@gmail.com> Closes #4836 from tedyu/master and squashes the following commits: d65b495 [tedyu] SPARK-6085 Increase default value for memory overhead 1fdd4df [tedyu] SPARK-6085 Increase default value for memory overhead
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MemoryUtils.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MemoryUtils.scala b/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MemoryUtils.scala
index 5101ec8352..705116cb13 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MemoryUtils.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MemoryUtils.scala
@@ -21,7 +21,7 @@ import org.apache.spark.SparkContext
private[spark] object MemoryUtils {
// These defaults copied from YARN
- val OVERHEAD_FRACTION = 1.07
+ val OVERHEAD_FRACTION = 1.10
val OVERHEAD_MINIMUM = 384
def calculateTotalMemory(sc: SparkContext) = {