I'm using Hazelcast 3.6.4 as a JCache provider under TomEE 7. Using MAT I see
One instance of "com.hazelcast.cache.impl.CacheService" loaded by
"java.net.URLClassLoader @ 0x805b5050" occupies 162,660,400 (71.07%) bytes.
The memory is accumulated in one instance of
"com.hazelcast.cache.impl.CachePartitionSegment[]" loaded by
"java.net.URLClassLoader @ 0x805b5050".

Using javax.cache MBean I can see CacheRemovals is 0, but CacheEvictions is
207,315. Is this normal behavior (not freeing the memory unless it's needed
perhaps)? I'm have 2G reserved for heap and the server is using about 250 MB
on the low end. It has doubled in size over 5 or 6 days and I only have one
item that caches for 24 hours with a 30% hit ratio.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Heap-leak-as-JCache-provider-tp4679471.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to