Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/2117#issuecomment-54378173
The OOM was probably due to the Spark driver having too little memory,
since a job with a huge number of tasks can have a large working set in the
scheduler. I think the default is 512 megabytes.
To increase the driver memory, try setting the `SPARK_DRIVER_MEMORY`
environment variable or passing the `--driver-memory` flag to spark-submit /
pyspark / spark-shell.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]