[infinispan-issues] [JBoss JIRA] (ISPN-7246) Memory leak with LIRS eviction strategy

William Burns (JIRA) issues at jboss.org
Fri Dec 2 10:13:00 EST 2016


     [ https://issues.jboss.org/browse/ISPN-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns resolved ISPN-7246.
---------------------------------
    Resolution: Rejected


This is unfortunately how LIRS is designed to behave.

You can read more information at https://issues.jboss.org/browse/ISPN-7171

> Memory leak with LIRS eviction strategy
> ---------------------------------------
>
>                 Key: ISPN-7246
>                 URL: https://issues.jboss.org/browse/ISPN-7246
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.2.5.Final
>         Environment: * Infinispan 8.2.5.Final Library mode
> * LIRS eviction strategy
>            Reporter: ted won
>              Labels: core, eviction, leak, lirs, strategy
>         Attachments: reproducer.zip
>
>
> There is a memory leak with the default eviction strategy. It's a leak in org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8 with LIRS eviction strategy.
> There are cache entries in org.infinispan.container.DefaultDataContainer.entries and its size are bigger than cache size after eviction occurred.
> DefaultDataContainer.entries retain keys and values for evicted entries in the cache.
> After full GC, DefaultDataContainer.entries size wasn't changed.
> The following minimum reproducer exhibits a leak. Eviction is supposed to suppress OOME.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list