GitHub user davies opened a pull request: https://github.com/apache/spark/pull/1912
[SPARK-1065] [PySpark] improve supporting for large broadcast Passing large object by py4j is very slow (cost much memory), so pass broadcast objects via files (similar to parallelize()). Add an option to keep object in driver (it's False by default) to save memory in driver. You can merge this pull request into a Git repository by running: $ git pull https://github.com/davies/spark broadcast Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1912.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1912 ---- commit 62261891e7cfd89935676f77eddf2e2a66f7f9d2 Author: Davies Liu <davies....@gmail.com> Date: 2014-08-13T00:25:55Z improve large broadcast Passing large object by py4j is very slow (cost much memory), so pass broadcast objects via files (similar to parallelize()). Add an option to keep object in driver (it's False by default) to save memory in driver. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org