[jira] [Created] (FLINK-9930) Flink slot memory leak after restarting job with static variables

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9930) Flink slot memory leak after restarting job with static variables

Shang Yuanchun (Jira)
Martin Shang created FLINK-9930:
-----------------------------------

             Summary: Flink slot memory leak after restarting job with static variables
                 Key: FLINK-9930
                 URL: https://issues.apache.org/jira/browse/FLINK-9930
             Project: Flink
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.4.2
            Reporter: Martin Shang


I find flink taskmanager exit caused by OOM ,and I dumped the head file.
 

The result is that the static variables are not released when canceled the job, and a new object is generated after I restarted the job.

The static variable is multiple for the slot memory isolation.

How could I make the variables collected by the Flink?

[multiple static variable|https://i.stack.imgur.com/KJcIN.jpg]

[path to gc|https://i.stack.imgur.com/bvrDF.jpg]



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