spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Gaido (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24437) Memory leak in UnsafeHashedRelation
Date Fri, 01 Jun 2018 16:35:00 GMT

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

Marco Gaido commented on SPARK-24437:
-------------------------------------

I checked and it seems that the leakage you are reporting doesn't really happen. I do see
the problem you are reporting, but I also see that the problem disappears after a while. Can
you try setting spark.cleaner.periodicGC.interval to a lower value (eg. 5min)? I think you
should not see this problem anymore.

> Memory leak in UnsafeHashedRelation
> -----------------------------------
>
>                 Key: SPARK-24437
>                 URL: https://issues.apache.org/jira/browse/SPARK-24437
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: gagan taneja
>            Priority: Critical
>         Attachments: Screen Shot 2018-05-30 at 2.05.40 PM.png, Screen Shot 2018-05-30
at 2.07.22 PM.png
>
>
> There seems to memory leak with org.apache.spark.sql.execution.joins.UnsafeHashedRelation
> We have a long running instance of STS.
> With each query execution requiring Broadcast Join, UnsafeHashedRelation is getting
added for cleanup in ContextCleaner. This reference of UnsafeHashedRelation is being held
at some other Collection and not becoming eligible for GC and because of this ContextCleaner
is not able to clean it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message