Table of contents 1. Spark Executor Memory 2. Setting Spark Executor Memory 2.1 Using the Spark configuration file 2.2 Using the SparkConf object 2.3 Using command-line options 2.3 Dynamic Executor memory location 2.4 Setting executor memory on a per-job basis 2.5 Using environment variable 3. Conclusion