spark-issues mailing list archives

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


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message