spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-26884) Let task acquire memory accurately when using spilled memory
Date Fri, 15 Feb 2019 06:40:00 GMT

     [ 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


Mime
View raw message