Those IdentityIntMap are caches meant to speed up serialization if the same 
objects or types are marshalled again. It's normal for them to be populated as 
marshalling operations are executed. We don't currently have a way to clear 
these caches.

Cheers,
--
Galder Zamarreño
Infinispan, Red Hat

> On 22 Nov 2015, at 15:00, Christian Beikov <[email protected]> wrote:
> 
> 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.
> _______________________________________________
> infinispan-dev mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to