[infinispan-dev] Memory consumption of org.infinispan.marshall.core.JBossMarshaller

Christian Beikov christian at sweazer.com
Sun Nov 22 09:00:40 EST 2015


Hello,

In a recent heap dump analysis I found that 
org.infinispan.marshall.core.JBossMarshaller consumes a lot of 
memory(about 46 MB) that seems to be unused.
This is due to PerThreadInstanceHolder having ExtendedRiverMarshaller 
objects that contain big IdentityIntMap objects. Some of those 
IdentityIntMap instances have a size of 2 million entries, but most of 
them have sizes of a few 100 thousands.
When I look into these IdentityIntMap instances, it seems that the 
entries are all unused.

Is that kind of memory consumption expected or does that indicate a 
possibly wrong configuration?

I am using Infinispan 7.2.4.Final on Wildfly 9.0.1.Final.


More information about the infinispan-dev mailing list