QuestionQ279

VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.

A Spark engineer is troubleshooting a Spark application that has experienced out-of-memory errors while running. After reviewing the Spark driver logs, the engineer observes multiple “GC overhead limit exceeded” messages.

Which action should the engineer take to resolve this issue?

Explanation

GC overhead limit exceeded in the driver logs indicates that the driver JVM is spending excessive time performing garbage collection because its heap is exhausted. Increasing spark.driver.memory (or using --driver-memory in client mode) gives the driver process more heap space and addresses this driver-side memory failure.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!