You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/09/24 05:26:05 UTC

[jira] [Created] (SPARK-10787) Reset ObjectOutputStream more often to prevent OOME

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org