Fix Spark Executor OOM: java.lang.OutOfMemoryError Explained
Executor out of memory means one task was handed more data than its share of memory could hold. Here is how to tell it apart from driver OOM, what the two different errors mean, and the fixes in order.
Read More