[ 
https://issues.apache.org/jira/browse/SPARK-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314330#comment-14314330
 ] 

liu chang commented on SPARK-2653:
----------------------------------

hi, Davies Liu

I have review the spark core codes, finded code of setting the heap size of 
JVM. 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmitDriverBootstrapper.scala#L109

I'm not sure. Is it a correct fix that change $newDriverMemory to the sum of 
spark.driver.memory and spark.executor.memory.

Need your help. very thanks

> Heap size should be the sum of driver.memory and executor.memory in local mode
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-2653
>                 URL: https://issues.apache.org/jira/browse/SPARK-2653
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Davies Liu
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In local mode, the driver and executor run in the same JVM, so the heap size 
> of JVM should be the sum of spark.driver.memory and spark.executor.memory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to