You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/05 16:38:41 UTC
[jira] [Commented] (IGNITE-4797) Need to expose offheap memory
allocated size metric for internal data structures
[ https://issues.apache.org/jira/browse/IGNITE-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957185#comment-15957185 ]
ASF GitHub Bot commented on IGNITE-4797:
----------------------------------------
GitHub user kartiksomani opened a pull request:
https://github.com/apache/ignite/pull/1743
ignite-4797: Added API for system allocated size in CacheMetrics
Addressed comments made by Andrey Gura
https://issues.apache.org/jira/browse/IGNITE-4797
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kartiksomani/ignite ignite-4797
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1743.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 #1743
----
commit 4d02758bedc01ad9da2ada23b1ce3fbc62610f91
Author: Kartik Somani <ka...@ymail.com>
Date: 2017-04-05T16:32:40Z
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)