Skip to content

Commit 6747fce

Browse files
committed
[SPARK-6423][Mesos] MemoryUtils should use memoryOverhead if it's set
- Changed a description of spark.mesos.executor.memoryOverhead
1 parent 475a7c8 commit 6747fce

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/running-on-mesos.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,9 @@ See the [configuration page](configuration.html) for information on Spark config
224224
<td><code>spark.mesos.executor.memoryOverhead</code></td>
225225
<td>executor memory * 0.10, with minimum of 384</td>
226226
<td>
227-
This value is an additive for <code>spark.executor.memory</code>, specified in MB,
228-
which is used to calculate the total Mesos task memory. A value of <code>384</code>
229-
implies a 384MB overhead. Additionally, there is a hard-coded 10% minimum
230-
overhead. The final overhead will be the larger of either
231-
`spark.mesos.executor.memoryOverhead` or 10% of `spark.executor.memory`.
227+
The amount of additional memory, specified in MB, to be allocated per executor. By default,
228+
the overhead will be larger of either 384 or 10% of `spark.executor.memory`. If it's set,
229+
the final overhead will be this value.
232230
</td>
233231
</tr>
234232
</table>

0 commit comments

Comments
 (0)