Michael Moss created SPARK-22567:
------------------------------------

             Summary: spark.mesos.executor.memoryOverhead equivalent for the 
Driver when running on Mesos
                 Key: SPARK-22567
                 URL: https://issues.apache.org/jira/browse/SPARK-22567
             Project: Spark
          Issue Type: Improvement
          Components: Mesos
    Affects Versions: 2.2.0
            Reporter: Michael Moss
            Priority: Minor


spark.mesos.executor.memoryOverhead is:
"The amount of additional memory, specified in MB, to be allocated per 
executor. By default, the overhead will be larger of either 384 or 10% of 
spark.executor.memory"

It is important for every JVM process to have memory available to it, beyond 
its heap (Xmx) for native allocations.

When using the MesosClusterDispatcher and running the Driver on Mesos 
(https://spark.apache.org/docs/latest/running-on-mesos.html#cluster-mode), it 
appears that the Driver's mesos sandbox is allocated with the same amount of 
memory (configured with spark.driver.memory) as the heap (Xmx) itself. This 
increases the prevalence of OOM exceptions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to