[
https://issues.apache.org/jira/browse/IGNITE-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932246#comment-15932246
]
ASF GitHub Bot commented on IGNITE-4797:
----------------------------------------
GitHub user kartiksomani opened a pull request:
https://github.com/apache/ignite/pull/1640
ignite-4797: Added API for system allocated size in CacheMetrics
Added getSystemAllocatedSize API
(https://issues.apache.org/jira/browse/IGNITE-4797) to expose offHeap memory
allocated for internal data structures.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kartiksomani/ignite master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1640.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1640
----
commit 06bdac750ca369a9f7b047cd7ea5a3707d2dc974
Author: Kartik Somani <[email protected]>
Date: 2017-03-20T06:05:41Z
ignite-4797: Added API for system allocated size in CacheMetrics
----
> Need to expose offheap memory allocated size metric for internal data
> structures
> --------------------------------------------------------------------------------
>
> Key: IGNITE-4797
> URL: https://issues.apache.org/jira/browse/IGNITE-4797
> Project: Ignite
> Issue Type: Improvement
> Reporter: Andrey Gura
> Assignee: Kartik Somani
> Labels: newbie
> Fix For: 2.0
>
>
> Offheap caches expose offheap memory allocated size via
> {{CacheMetricsMXBean.getOffHeapAllocatedSize()}}. But this metric doesn't
> take into account offheap memory that allocated for internal data structures
> (GridUnsafeMap and LRU eviction policy).
> However Ignite collects this metric (see
> GridUnsafeMemory.systemAllocatedSize() method).
> Need to expose this metric via {{CacheMetricsMXBean}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)