spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-22987) UnsafeExternalSorter cases OOM when invoking `getIterator` function.
Date Mon, 08 Jan 2018 04:38:03 GMT

     [ https://issues.apache.org/jira/browse/SPARK-22987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-22987:
------------------------------------

    Assignee: 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
>            Assignee: Apache Spark
>
> 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


Mime
View raw message