Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/16989#discussion_r115639242
--- Diff:
core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala
---
@@ -137,6 +143,9 @@ final class ShuffleBlockFetcherIterator(
// Release the current buffer if necessary
if (currentResult != null) {
currentResult.buf.release()
+ if (blocksShuffleToMem.contains(currentResult.blockId.toString)) {
+ freeMemory(currentResult.size)
--- End diff --
shall we also remove the block id from `blocksShuffleToMem`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]