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/10/01 20:09:27 UTC
[jira] [Updated] (SPARK-10787) Consider replacing
ObjectOutputStream for serialization to prevent OOME
[ https://issues.apache.org/jira/browse/SPARK-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated SPARK-10787:
---------------------------
Summary: Consider replacing ObjectOutputStream for serialization to prevent OOME (was: Reset ObjectOutputStream more often to prevent OOME)
> Consider replacing ObjectOutputStream for serialization to prevent OOME
> -----------------------------------------------------------------------
>
> Key: SPARK-10787
> URL: https://issues.apache.org/jira/browse/SPARK-10787
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: Ted Yu
> Priority: Minor
>
> In the thread, Spark ClosureCleaner or java serializer OOM when trying to grow (http://search-hadoop.com/m/q3RTtAr5X543dNn), 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