SongYadong created SPARK-26884:
----------------------------------
Summary: 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
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
|