You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2019/01/21 01:00:01 UTC
[jira] [Resolved] (SPARK-26662) Dispose off-heap memory when
MemoryStore is cleared
[ https://issues.apache.org/jira/browse/SPARK-26662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-26662.
-------------------------------
Resolution: Won't Fix
> Dispose off-heap memory when MemoryStore is cleared
> ---------------------------------------------------
>
> Key: SPARK-26662
> URL: https://issues.apache.org/jira/browse/SPARK-26662
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.0.0
> Reporter: SongYadong
> Priority: Minor
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> If buffer in *MemoryStore*'s *SerializedMemoryEntry* is allocated off-heap, current *clear()* action doesn't dispose them. These off-heap memory, though, will be freed when process ends, but for application that need to stop and restart *SparkContext* serveral times, this may cause some kind of off-heap memory leak.
> It may be better to dispose off-heap memory by itself when clearing *MemoryStore*.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org