[ https://issues.apache.org/jira/browse/SPARK-26884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773286#comment-16773286 ]
Thincrs commented on SPARK-26884: --------------------------------- A user of thincrs has selected this issue. Deadline: Wed, Feb 27, 2019 7:01 PM > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org