You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "SongYadong (JIRA)" <ji...@apache.org> on 2019/01/18 13:13:00 UTC
[jira] [Created] (SPARK-26662) Dispose off-heap memory when
MemoryStore is cleared
SongYadong created SPARK-26662:
----------------------------------
Summary: 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
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