Reputation: 11200
I have set spark.executor.memory to 2048m, and in the UI "Environment" page, I can see this value has been set correctly. But in the "Executors" page, I saw there's only 1 executor and its memory is 265.4MB. Very strange value. why not 256MB, or just as what I set?
What am I missing here?
Upvotes: 4
Views: 13451
Reputation: 796
Please see the following question for the 265.4MB memory size...
How to set Apache Spark Executor memory
Upvotes: 2
Reputation: 27470
The "Executors" tab on the UI also includes the driver in the list. Its "executor ID" is listed as <driver>
. This process is not started by Spark, so it is not affected by spark.executor.memory
.
spark-submit
, its maximal memory can be controlled by spark.driver.memory
or --driver-memory
-Xmx
Java flag.Upvotes: 6