Github user vanzin commented on the pull request: https://github.com/apache/spark/pull/2401#issuecomment-57697590 I guess it depends on what "--executor-memory" means on Mesos. On Yarn, it means the "-Xmx" value for the JVM. So it doesn't include the memory used by any python processes included in the process group. So `--executor-memory + overheadMemory` should be able to cover the JVM heap + JVM overhead + RSS of all the python processes. At that point, a fraction doesn't make sense, because, as I mentioned above, the memory of the python processes is unrelated to the JVM heap size.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org