Github user holdenk commented on the issue:

    https://github.com/apache/spark/pull/15843
  
    From the Py4J documentation it seems like we could be leaking memory with 
the first option, although perhaps not a lot of memory, but if it was being 
used in an iterative Python algorithm for training many models it could start 
to have some impact. I'd be in favor of option 2, but that could be done as a 
follow up issue if the required copy methods aren't generally available.


---
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]

Reply via email to