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 2017/09/08 12:28:00 UTC

[jira] [Commented] (SPARK-21956) Fetch up to max bytes when buf really released

    [ https://issues.apache.org/jira/browse/SPARK-21956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158548#comment-16158548 ] 

Apache Spark commented on SPARK-21956:
--------------------------------------

User 'caneGuy' has created a pull request for this issue:
https://github.com/apache/spark/pull/19168

> Fetch up to max bytes when buf really released
> ----------------------------------------------
>
>                 Key: SPARK-21956
>                 URL: https://issues.apache.org/jira/browse/SPARK-21956
>             Project: Spark
>          Issue Type: Improvement
>          Components: Shuffle, Spark Core
>    Affects Versions: 2.1.0
>            Reporter: zhoukang
>
> Right now,ShuffleBlockFetcherIterator will decrease bytesInFlight immediatily when take from results queue.But currentresult's bytebuf has not been released at that time.Then direct memory may be a little out of control.
> We should decrease bytesInFlight when currentresult's bytebuf really been released.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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