skonto edited a comment on issue #24796: [SPARK-27900][CORE] Add uncaught 
exception handler to the driver
URL: https://github.com/apache/spark/pull/24796#issuecomment-499791740
 
 
   @zsxwing I describe how this happened in the jira ticket. I just run Spark 
on K8s SparkPi with 1M as the input parameter. This creates 1M tasks (an array 
holds them) which creates an OOM error for the DAGScheduler eventLooop thread 
since this is the one that will eventually try to submit the actual job, of 
course my jvm mem settings are enough to reproduce it, for the values pls have 
a look at the jira ticket. Of course this could happen in other cases where jvm 
is running out of memory and at some point this thread needs to allocate more 
memory. Btw I can reproduce it on K8s in a consistent manner.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to