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 03:55:00 UTC

[jira] [Updated] (RATIS-925) Memory leak of RaftServerImpl for not free from static

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

runzhiwang updated RATIS-925:
-----------------------------
    Summary: Memory leak of RaftServerImpl for not free from static   (was: Memory leak of RaftServerImpl)

> Memory leak of RaftServerImpl for not free from static 
> -------------------------------------------------------
>
>                 Key: RATIS-925
>                 URL: https://issues.apache.org/jira/browse/RATIS-925
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: 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)