You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/01/08 04:38:03 UTC
[jira] [Assigned] (SPARK-22987) UnsafeExternalSorter cases OOM when
invoking `getIterator` function.
[ https://issues.apache.org/jira/browse/SPARK-22987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-22987:
------------------------------------
Assignee: (was: Apache Spark)
> UnsafeExternalSorter cases OOM when invoking `getIterator` function.
> --------------------------------------------------------------------
>
> Key: SPARK-22987
> URL: https://issues.apache.org/jira/browse/SPARK-22987
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 2.2.0, 2.2.1
> Reporter: Lijia Liu
>
> ChainedIterator.UnsafeExternalSorter remains a Queue of UnsafeSorterIterator. When call `getIterator` function of UnsafeExternalSorter, UnsafeExternalSorter passes an ArrayList of UnsafeSorterSpillReader to the constructor of UnsafeExternalSorter. But, UnsafeSorterSpillReader maintains a byte array as buffer, witch capacity is more than 1 MB. When spilling frequently, this case maybe causes OOM.
> I try to change the Queue in ChainedIterator to a Iterator.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org