I have followed http://apacheignite.gridgain.org/v1.5/docs/capacity-planning
for capacity planning. But I have a question regarding "Add around 20MB per
cache." line.  Does it mean per cache entry, per node, per map?

I have inserted only 1 entry in the cluster. Following are the stats:

Size of 1 entry =108KB
1 Node internal memory = 200-300MB. So we have 4 servers and 2 clients.
4 Node internal memory = 300MB*4 = 1.2GB
Not sure what does "Add around 20MB per cache" means?

Heap memory used across the cluster = 11745159288 = 11GB
[igniteInstance.cluster().metrics() -> ClusterMetrics.getHeapMemoryUsed]

I am trying to understand why the heap memory is 11GB? 

Finally I want to measure amount of heap memory (ONHEAP) in bytes used by
this map if insert 1million entries. 

I was looking into igniteInstance.cache(mapName).metrics() which return
CacheMetrics for that mapName. 




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-get-On-heap-memory-usage-for-a-map-tp10263p10270.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to