Re: off heap memory usage

2018-01-12 Thread Alexey Popov
Hi Colin, You should use TotalAllocatedPages if you have persistence disabled. There is an know issue with PhysicalMemoryPages: https://issues.apache.org/jira/browse/IGNITE-6963 Thank you, Alexey -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: off heap memory usage

2018-01-09 Thread colinc
Thanks for this. The referenced post mentions AllocatedPages rather than PhysicalPages. Which would you advise is the most appropriate for this application? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: off heap memory usage

2018-01-08 Thread Alexey Popov
Hi Colin, Unfortunately, you can't get the exact off-heap size. There are several tickets here https://issues.apache.org/jira/browse/IGNITE-6814 https://issues.apache.org/jira/browse/IGNITE-5583 http://apache-ignite-users.70518.x6.nabble.com/Cache-size-in-Memory-td17226.html You are using (page

Re: off heap memory usage

2018-01-05 Thread colinc
I have given this (pages * pageSize * pagesFillFactor) a go now, but it doesn't seem to be returning the values I'm expecting. In particular, the value can drop significantly even when data is being inserted into the cache. Am I using pagesFillFactor incorrectly? -- Sent from: http://apache-ign

Re: off heap memory usage

2018-01-05 Thread colinc
Please ignite my above comment, I am now able to retrieve the factor. As such, is the following correct? memoryUsed = pages * pageSize * pagesFillFactor -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: off heap memory usage

2018-01-05 Thread colinc
I can confirm that I have metrics enabled for my region - I am able to read allocatedPages, it's just the fillFactor that always seems to return zero. Colin. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: off heap memory usage

2018-01-05 Thread Denis Mekhanikov
Collin, To be able to see data region metrics, you should enable them either in configuration, or via MXBean. You can find a note about it here: https://apacheignite.readme.io/v2.3/docs/memory-metrics Note, that memory metrics collection should be enabled per data region. Denis пт, 5 янв. 2018

Re: off heap memory usage

2018-01-05 Thread colinc
Hi Denis, As per your comment, I can see pages*pageSize rising as entries are put into the cache - but this metric doesn't come down e.g. when new nodes are added to the cluster. I assume that the pages remain allocated but with a lower fill factor. So pages*pageSize gives a misleadingly pessimis

Re: off heap memory usage

2018-01-04 Thread Denis Mekhanikov
metrics first. Here you can find how: https://apacheignite.readme.io/docs/memory-metrics Note, that pages may be not full, will still be included into this metric. Denis чт, 4 янв. 2018 г. в 11:05, shawn.du : > Hi community, > > I want monitor ignite cluster off heap memory usage. if

off heap memory usage

2018-01-04 Thread shawn.du
Hi community,I want monitor ignite cluster off heap memory usage. if off heap available memory is less than 1G then alert. I went through ignite MBean,  find ClusterLocalNodeMetricsMXBeanImpl's NonHeapMemoryUsed. The value is too small. I don't think it is.  How ca

Re: Off-heap memory usage questions

2016-04-15 Thread Denis Magda
M), I observed big heap memory consumption - some as high as 6G. I > am not using any expiry policy. Is this normal? > > Shaomin > > -Original Message- > From: vkulichenko [mailto:valentin.kuliche...@gmail.com] > Sent: 14 April 2016 19:08 > To: user@ignite.apach

RE: Off-heap memory usage questions

2016-04-15 Thread Shaomin Zhang
...@gmail.com] Sent: 14 April 2016 19:08 To: user@ignite.apache.org Subject: Re: Off-heap memory usage questions Hi Shaomin, 1. Yes, this is a per node setting. So if there are two nodes on one box, it's possible that 20G will be allocated on this box. You should make sure that this

Re: Off-heap memory usage questions

2016-04-14 Thread vkulichenko
node only, but you can use IgniteCache.metrics(ClusterGroup) to get aggregated values for a set of nodes. This is already fixed in master - in 1.6 aggregated metrics will be returned by default. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Off-heap-memory-

Off-heap memory usage questions

2016-04-14 Thread Shaomin Zhang
Hi I am trying to use OFFHEAP_TIERED caches, and have this setting for the memory , virtual memory is disenabled. I have a couple questions: 1. Does this mean that 10G off-heap memory is allocated for each cache? If I have two Ignite instances on a single hard node, 20G will be allocated? What