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

Tsz-wo Sze commented on RATIS-716:
----------------------------------

Thanks [~ljain].  This is a very good observation!

The error message is only used in debug.  Let's check "if 
(LOG.isDebugEnabled())" before calling toString().


> RetryCache$CacheEntry$replyFuture holds onto RaftClientRequest until eviction
> -----------------------------------------------------------------------------
>
>                 Key: RATIS-716
>                 URL: https://issues.apache.org/jira/browse/RATIS-716
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>         Attachments: RATIS-716.001.patch
>
>
> RetryCache$CacheEntry$replyFuture holds onto RaftClientRequest until 
> eviction. Multiple cache entries can hold a lot of memory thus leading to GC 
> pauses.



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

Reply via email to