You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/10/23 19:30:00 UTC

[jira] [Updated] (SPARK-54001) Reduce memory footprint from cached local relations upon cloning

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

ASF GitHub Bot updated SPARK-54001:
-----------------------------------
    Labels: pull-request-available  (was: )

> Reduce memory footprint from cached local relations upon cloning
> ----------------------------------------------------------------
>
>                 Key: SPARK-54001
>                 URL: https://issues.apache.org/jira/browse/SPARK-54001
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect, Spark Core
>    Affects Versions: 4.2
>            Reporter: Venkata Sai Akhil Gudesa
>            Priority: Major
>              Labels: pull-request-available
>
> Cloning sessions is a common operation in Spark applications (e.g., for creating isolated execution contexts). The current approach of duplicating cached data can significantly increase memory footprint, especially when:
>  * Sessions are cloned frequently
>  * Cached relations contain large datasets
>  * Multiple clones exist simultaneously
>  
> An improvement can be made by implementing reference counting as opposed to data replication for the block manager entries that reference cached local relations. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org