Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heap memory miscalculation? #11

Open
stochastic1 opened this issue Apr 16, 2020 · 1 comment
Open

Heap memory miscalculation? #11

stochastic1 opened this issue Apr 16, 2020 · 1 comment

Comments

@stochastic1
Copy link

From:
https://github.com/spoddutur/spark-notes/blob/master/distribution_of_executors_cores_and_memory_for_spark_application.md

Memory per executor = 64GB/3 = 21GB
Counting off heap overhead = 7% of 21GB = 3GB. So, actual --executor-memory = 21 - 3 = 18GB

3GB is 14% of 21GB. Either we should be setting 19GB or 20GB as executor-memory, or I'm misunderstanding the 7% of Heap space. This is a good guide and I'm actively using it to optimize spark settings in dataproc; please clarify this one point, if you don't mind.

@datasherlock
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants