Hi, Non-heap memory values are not related to Ignite off-heap usage. It reports only memory used by java native byte buffers. If you need to estimate memory usage before data loading, please referer to [1]. To estimate total memory usage after all data was loaded you can use, on example, top command. The actual used memory in the RES column value.
[1] https://apacheignite.readme.io/docs/capacity-planning 2016-05-18 11:59 GMT+03:00 ght230 <[email protected]>: > I am trying to estimate cache data size when setting CacheMode.PARTITIONED > with different replications. > I confirmed the cache data size by ignitevisorcmd and found the result is a > bit strange. > Following is my cache configures. > CacheCfg.setCacheMode(CacheMode.PARTITIONED); > CacheCfg.setMemoryMode(CacheMemoryMode.OFFHEAP_TIERED); > CacheCfg.setOffHeapMaxMemory(0); > CacheCfg.setSwapEnabled(false); > > case 1 : CacheCfg.setBackups(0); > Non-heap memory initialized 23m > Non-heap memory used 58m > Non-heap memory committed 88m > Non-heap memory maximum 130m > > case 2 : CacheCfg.setBackups(1); > Non-heap memory initialized 23m > Non-heap memory used 58m > Non-heap memory committed 88m > Non-heap memory maximum 130m > > case 3 : CacheCfg.setBackups(2); > Non-heap memory initialized 23m > Non-heap memory used 58m > Non-heap memory committed 88m > Non-heap memory maximum 130m > > I have 2 questions: > 1. How to estimate the memory used for the cache data? > According to "initialized ", "used", "committed" or "maximum"? > 2. Why memory used looks same in different replications? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Problem-about-cache-data-size-tp5016.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Alexei Scherbakov
