[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to