GitHub user AnthonyTruchet opened a pull request: https://github.com/apache/spark/pull/16040
[SPARK-18612][MLLIB] Delete broadcasted variable in LBFGS CostFun ## What changes were proposed in this pull request? Fix a broadcasted variable leak occurring at each invocation of CostFun in L-BFGS. ## How was this patch tested? UTests + check that fixed fatal memory consumption on Criteo's use cases. This contribution is made on behalf of Criteo S.A. (http://labs.criteo.com/) under the terms of the Apache v2 License. You can merge this pull request into a Git repository by running: $ git pull https://github.com/criteo-forks/spark SPARK-18612-lbfgs-cost-fun Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16040.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 #16040 ---- commit 7aa7976c695ba9519164c2e5f76ff2faed373960 Author: Anthony Truchet <a.truc...@criteo.com> Date: 2016-11-28T16:22:23Z [SPARK-18612][MLLIB] Delete broadcasted variable in LBFGS CostFun This contribution is made on behalf of Criteo S.A. (http://labs.criteo.com/) under the terms of the Apache v2 License. ---- --- 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