spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-5841) Memory leak in DiskBlockManager
Date Mon, 16 Feb 2015 22:55:11 GMT

     [ https://issues.apache.org/jira/browse/SPARK-5841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen resolved SPARK-5841.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

Issue resolved by pull request 4627
[https://github.com/apache/spark/pull/4627]

> Memory leak in DiskBlockManager
> -------------------------------
>
>                 Key: SPARK-5841
>                 URL: https://issues.apache.org/jira/browse/SPARK-5841
>             Project: Spark
>          Issue Type: Bug
>          Components: Block Manager
>    Affects Versions: 1.2.1
>            Reporter: Matt Whelan
>             Fix For: 1.3.0
>
>
> DiskBlockManager registers a Runtime shutdown hook, which creates a hard reference to
the entire Driver ActorSystem.  If a long-running JVM repeatedly creates and destroys SparkContext
instances, it leaks memory.  
> I suggest we deregister the shutdown hook if DiskBlockManager.stop is called.  It's redundant
at that point.
> PR coming.
> See also http://mail-archives.apache.org/mod_mbox/spark-user/201501.mbox/%3CCA+kjH+w_DDTEBE9XB6NrPxLTUXD=NC_d-3ogxTUMk_5v-E0bLQ@mail.gmail.com%3E



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


Mime
View raw message