Hi Anil,

The row (Non heap) does not contains information about cache. If you want
to see how many memory was used by particular cache.

You can switch up metrics for it:

*<bean class="org.apache.ignite.configuration.CacheConfiguration"> *
* <property name="statisticsEnabled" value="true"/>*
...

and tracking a metrics of cache by API:

*ignite.cache("name").metrics().getOffHeapAllocatedSize()*

or by JMX bean.

On Fri, Oct 21, 2016 at 10:38 AM, Anil <[email protected]> wrote:

> HI,
>
> i have loaded around 20 M records into 4 node ignite cluster.
>
> Following is the ignite metrics logged in the log of one node.
>
>
> ^-- Node [id=c0e3dc45, name=my-grid, uptime=20:17:27:096]
>     ^-- H/N/C [hosts=4, nodes=4, CPUs=32]
>     ^-- CPU [cur=0.23%, avg=0.26%, GC=0%]
>     ^-- Heap [used=999MB, free=71.96%, comm=1819MB]
>     ^-- Non heap [used=101MB, free=-1%, comm=105MB]
>     ^-- Public thread pool [active=0, idle=16, qSize=0]
>     ^-- System thread pool [active=0, idle=16, qSize=0]
>     ^-- Outbound messages queue [size=0]
>
>
> Each node is consuming around 20 gb RAM (can see it from htop command).
>
> Ignite Configuration :
>
>  <property name="cacheMode" value="PARTITIONED"/>
> <property name="backups" value="1"/>
> <property name="swapEnabled" value="true"/>
> <property name="copyOnRead" value="false"/>
> <property name="memoryMode" value="OFFHEAP_TIERED"/>
> <property name="offHeapMaxMemory" value="0"/>
>
> From the log, non heap used is 101 MB and heap used is 999MB. But actual
> RAM used by jar is 20 GB.
>
> Can you please clarify the numbers ?
>
> Thanks
>



-- 
Vladislav Pyatkov

Reply via email to