[infinispan-issues] [JBoss JIRA] (ISPN-7246) Memory leak with LIRS eviction strategy
ted won (JIRA)
issues at jboss.org
Tue Nov 29 02:50:00 EST 2016
[ https://issues.jboss.org/browse/ISPN-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ted won updated ISPN-7246:
--------------------------
Description:
There is a memory 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 retains 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.
was:
There is a memory 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.
The following minimum reproducer exhibits a leak. Eviction is supposed to suppress OOME.
> 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 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 retains 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