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:56:04 UTC
[jira] [Updated] (SPARK-10787) Reset ObjectOutputStream more often
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:
---------------------------
Description:
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.
was:
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.
> 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 (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