[jboss-jira] [JBoss JIRA] (JGRP-1983) Discovery leaks responses

Bela Ban (JIRA) issues at jboss.org
Tue Nov 24 04:03:00 EST 2015


    [ https://issues.jboss.org/browse/JGRP-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133005#comment-13133005 ] 

Bela Ban commented on JGRP-1983:
--------------------------------

Solution: when issuing a discovery request, also remove responses marked as done or whose timeout has expired.

> Discovery leaks responses
> -------------------------
>
>                 Key: JGRP-1983
>                 URL: https://issues.jboss.org/browse/JGRP-1983
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6.7
>
>
> {{Discovery.ping_responses}} is never cleared, and leads to memory leaks if we have many discovery phases.
> Not really critical as discovery is usually done only once (at startup). However, {{MERGE2}} and {{MERGE}} still use it (they have been deprecated and will get removed in 4.0 though).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list