You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (Jira)" <ji...@apache.org> on 2022/05/31 22:58:00 UTC
[jira] [Commented] (SPARK-32911) UnsafeExternalSorter.SpillableIterator cannot spill after reading all records
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org