I'm doing some benchmarks and I look also at the memory issues in Spark. When running my Spark Application I saw, that the memory of the Spark Driver process differs, depending on the deployment-mode I run the app in.
The table below shows the different values that my Spark UI showed in the executors -> driver section of the app. I set the driver memory per spark-submit parameter --driver-memory.
I found a calculation on the Internet (https://0x0fff.com/spark-memory-management/), saying, that