You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/02/15 06:40:00 UTC

[jira] [Assigned] (SPARK-26884) Let task acquire memory accurately when using spilled memory

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

Apache Spark reassigned SPARK-26884:
------------------------------------

    Assignee:     (was: Apache Spark)

> Let task acquire memory accurately when using spilled memory
> ------------------------------------------------------------
>
>                 Key: SPARK-26884
>                 URL: https://issues.apache.org/jira/browse/SPARK-26884
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.0.0
>            Reporter: SongYadong
>            Priority: Minor
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When task can't get required execution memory, it will call *spill()* of consumers to release more memory. After spilling, it tries again to acquire memory needed which is *(required - got)*. That's not accurate as actually *released* memory by spilling may not equal to size it try to spill. 
> So it may be better to acquire memory in more accurate size :
> 1. when *released* >= needed, acquire needed size. (*required - got*)
> 2. when *released* < needed, acquire released size.
>  



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