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

Sammi Chen resolved RATIS-925.
------------------------------
    Resolution: Resolved

> Memory leak of RaftServerImpl for no remove 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *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.20.10#820010)

Reply via email to