[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org