Advancedcomparison Verified ~9 min
Driver OOM vs executor OOM: how do you tell them apart and fix each?
Source: Spark cluster mode overview
Quick answerFree
Driver OOM shows in the driver log and usually follows collect(), toPandas(), a large broadcast or a huge number of partitions/files tracked by the driver; fix by not pulling data to the driver.
Detailed answer· ~340 words
Interview PrepUnlock the full answer with Interview Prep
Get a ~340-word model answer, 4 key points, a visual explainer, 5 common mistakes and 5 follow-ups, plus 43 more Apache Spark questions.
Also in Pro (₹499 / 90 days).
Key points· 4 points
Interview PrepUnlock with Interview Prep
Visual explainer· animated, step by step
Interview PrepUnlock with Interview Prep
Common mistakes· 5
Interview PrepLocked
Best practices· 5
Interview PrepLocked
Likely follow-ups· 5 questions
Interview PrepUnlock with Interview Prep
+ 43 more Apache Spark questions in Interview Prep, each with the full answer.