ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@apache.org>
Subject Re: Cache size in Memory
Date Tue, 03 Oct 2017 06:28:48 GMT
Hi,

Take a look at documentation:
https://apacheignite.readme.io/docs/memory-metrics

You can multiply TotalAllocatedPages on page size to get an estimation.

On Tue, Oct 3, 2017 at 3:35 AM, pradeepchanumolu <pradeepbaji@gmail.com>
wrote:

> Hi ,
>
> Can someone let me know how to get the stats of the cache like how large
> (like how many MB/GB) is the cache in memory (both on and off heap)?
>
> Currently, I can only get number of entries in the cache using the
> cache.size(CachePeekMode.ONHEAP), cache.size(CachePeekMode.OFFHEAP).
>
> cache.metrics() returns the Cache Metrics but doesn't have any methods to
> return the total size in gb/mb of the cache in memory.
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
> --
> Alexey Kuznetsov
> <http://apache-ignite-users.70518.x6.nabble.com/>
>

Mime
View raw message