[infinispan-issues] [JBoss JIRA] (ISPN-7191) CacheManager.removeCache leaks

Dan Berindei (Jira) issues at jboss.org
Thu Jan 23 12:29:36 EST 2020


    [ https://issues.redhat.com/browse/ISPN-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955698#comment-13955698 ] 

Dan Berindei commented on ISPN-7191:
------------------------------------

The description doesn't say exactly which objects are leaked, but the reproducer goes into more detail:

1. The cache JMX bean is not removed
2. {{NumericVersionGenerator}} registers a view change listener and doesn't remove it.

The cache JMX leak has been fixed, but the NumericVersionGenerator leak is still present.

We have also added one new leak:

{{InternalCacheFactory.bootstrap()}} registers a {{TranscoderMarshallerAdapter}} in the global {{EncoderRegistry}},
and never removes it.


> CacheManager.removeCache leaks
> ------------------------------
>
>                 Key: ISPN-7191
>                 URL: https://issues.redhat.com/browse/ISPN-7191
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 8.2.4.Final, 10.1.1.Final
>            Reporter: Ryan Gustafson
>            Assignee: Dan Berindei
>            Priority: Major
>         Attachments: TransientInfinispanCacheTest.java
>
>
> Tests to try to use Infinispan caches for a large number of anonymous transient caches eventually runs out of memory.  3 different kinds of leaks were identified.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list