You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2020/05/06 05:37:00 UTC

[jira] [Assigned] (RATIS-925) Memory leak of RaftServerImpl for no free from static RaftServerMetrics::metricsMap

     [ https://issues.apache.org/jira/browse/RATIS-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

runzhiwang reassigned RATIS-925:
--------------------------------

    Assignee: runzhiwang

> Memory leak of RaftServerImpl for no free from static RaftServerMetrics::metricsMap
> -----------------------------------------------------------------------------------
>
>                 Key: RATIS-925
>                 URL: https://issues.apache.org/jira/browse/RATIS-925
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> *What's the problem ?* 
>  As the image shows, there are 2066 instances of RaftServerImpl, most of them are Closed, and should be GC, but actually not.
> !screenshot-1.png!
> *What's the reason ?*
>  You can find from the image 2040 RaftServerImpl were held by RaftServerMetrics::metricsMap which is a staic map 
>  !screenshot-2.png!



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