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.
