[
https://issues.apache.org/jira/browse/SPARK-32911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544636#comment-17544636
]
Josh Rosen commented on SPARK-32911:
------------------------------------
Also backported this to 3.0.4 since it's the only UnsafeExternalSorter change
not in that branch and it was creating conflicts for other backports.
> UnsafeExternalSorter.SpillableIterator cannot spill after reading all records
> -----------------------------------------------------------------------------
>
> Key: SPARK-32911
> URL: https://issues.apache.org/jira/browse/SPARK-32911
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.4.7, 3.0.1
> Reporter: Tom van Bussel
> Assignee: Tom van Bussel
> Priority: Major
> Fix For: 3.1.0, 3.0.4
>
>
> No memory is freed after calling
> {{UnsafeExternalSorter.SpillableIterator.spill()}} when all records have been
> read, even though it is still holding onto some memory. This may starve other
> {{MemoryConsumer}}s of memory.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]