Re: JMX-MBean Reports OffHeapAllocatedSize as zero
Hi Christoph, This metric is not implemented because of complexity. But you may get to know now much of space your cache or cashes consumes with DataRegionMetrics: DataRegionMetrics drm = ignite.dataRegionMetrics("region_name"); long used = (long)(drm.getPhysicalMemorySize() * drm.getPagesFillFactor()); So if you don't use persistence and set custom data region for cache, you can size, consumed by it. Thanks! -Dmitry -- 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/
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 Christoph, Can you try 2.4.0? I know there were some fixes for memory metrics, so there is a big chance you will not reproduce the issue with the latest version. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
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