Ted Yu created SPARK-10787:
------------------------------

             Summary: Reset ObjectOutputStream more often to prevent OOME
                 Key: SPARK-10787
                 URL: https://issues.apache.org/jira/browse/SPARK-10787
             Project: Spark
          Issue Type: Bug
            Reporter: Ted Yu


In the thread, Spark ClosureCleaner or java serializer OOM when trying to grow, 
Jay Luan reported that ClosureCleaner#ensureSerializable() resulted in OOME.

The cause was that ObjectOutputStream keeps a strong reference of every object 
that was written to it.

This issue tries to avoid OOME by calling reset() more often.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to