You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "fengchaoge (Jira)" <ji...@apache.org> on 2019/10/13 10:46:00 UTC

[jira] [Commented] (SPARK-26570) Out of memory when InMemoryFileIndex bulkListLeafFiles

    [ https://issues.apache.org/jira/browse/SPARK-26570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950276#comment-16950276 ] 

fengchaoge commented on SPARK-26570:
------------------------------------

hello, [~deshanxiao] [~srowen] spark2.4.3 may also have the same problems. Our sql program runs stably on spark2.1.0, generating about 70,000  tasks . After migrating to spark2.4.3, the memory overflows directly.  Driver logs like this:java.lang.OutOfMemoryError: GC overhead limit exceeded. The jstack log is shown below, may  be all  serializable  file statuses collected.

_!image-2019-10-13-18-41-22-090.png!_

!image-2019-10-13-18-45-33-770.png!

 

> Out of memory when InMemoryFileIndex bulkListLeafFiles
> ------------------------------------------------------
>
>                 Key: SPARK-26570
>                 URL: https://issues.apache.org/jira/browse/SPARK-26570
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.2
>            Reporter: deshanxiao
>            Priority: Major
>         Attachments: image-2019-10-13-18-41-22-090.png, screenshot-1.png
>
>
> The *bulkListLeafFiles* will collect all filestatus in memory for every query which may cause the oom of driver. I use the spark 2.3.2 meeting with the problem. Maybe the latest one also exists the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org