Skip to content

Commit

Permalink
Reset elementsRead
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or committed Nov 18, 2014
1 parent e4f5695 commit 486fc49
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ private[spark] class ExternalSorter[K, V, C](
myMemoryThreshold = 0

_memoryBytesSpilled += memorySize
elementsRead = 0
}

/**
Expand Down

0 comments on commit 486fc49

Please sign in to comment.