You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "tianshuang (Jira)" <ji...@apache.org> on 2022/07/18 03:04:00 UTC

[jira] [Commented] (SPARK-14261) Memory leak in Spark Thrift Server

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

tianshuang commented on SPARK-14261:
------------------------------------

The memory usage problem of java.io.DeleteOnExitHook still exists. There seems to be no good fix. After ThriftServer runs for several months, java.io.DeleteOnExitHook#files will occupy a lot of memory.

> Memory leak in Spark Thrift Server
> ----------------------------------
>
>                 Key: SPARK-14261
>                 URL: https://issues.apache.org/jira/browse/SPARK-14261
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.0
>            Reporter: Xiaochun Liang
>            Assignee: Oleg Danilov
>            Priority: Major
>             Fix For: 1.6.2, 2.0.0
>
>         Attachments: 16716_heapdump_64g.PNG, 16716_heapdump_80g.PNG, 8892_4g_objects.PNG, 8892_5g_objects.PNG, 8892_6g_objects.PNG, 8892_6g_stop_longrunquery_objects.PNG, 8892_MemorySnapshot.PNG, MemorySnapshot.PNG
>
>
> I am running Spark Thrift server on Windows Server 2012. The Spark Thrift server is launched as Yarn client mode. Its memory usage is increased gradually with the queries in.  I am wondering there is memory leak in Spark Thrift server.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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