JMX-MBean Reports OffHeapAllocatedSize as zero
Hi, I use a partitioned cache with off heap in Ignite 2.3.0. After putting some values I see in JMX MBean org.apache"org.apache.ignite.internal.processors.cache.CacheClusterMetricsMXBeanImpl" some entries with prefix OffHeap. Value OffHeapEntriesCount is the number of stored entries and now 3178. *Value OffHeapAllocatedSize is 0.* But CachePuts is 3178, AveragePutTime is 328.502 and OffHeapPrimaryEntriesCount is 3178. The 3178 values can be retrieved from the cache. So I believe they are stored in off heap. I also run a test with 1 million entries and OffHeapAllocatedSize states zero. *Is this expected behaviour?* Kind regards, Christoph
Re: JMX-MBean Reports OffHeapAllocatedSize as zero
Hi Val and others, same behavior with Ignite 2.4.0, MBean-CacheMetrics always report OffHeapAllocatedSize zero. Is this a bug, a feature/expected? Can I somehow change setup to get a metric for off heap usage? KR, Christoph -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: JMX-MBean Reports OffHeapAllocatedSize as zero
Hi, I step into the code and ended up in this method in IgniteCacheOffheapManagerImpl: @Override public long offHeapAllocatedSize() { // TODO GG-10884. return 0; } Is ticket GG-10884 about resolving this TODO or did it introduced this TODO? Is there a schedule for this TODO? If yes, where/how can I find it? KR, Christoph -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/