Hi All,

I have created a NearCache using the following code.

                Ignition.setClientMode(true);
                Ignite ignite = Ignition.start("example-persistent-store.xml");
                ignite.cluster().active(true);
                NearCacheConfiguration<Integer, Integer> nCfg = new
NearCacheConfiguration<>();
                IgniteCache<Integer, Integer> cache = 
ignite.getOrCreateCache(new
CacheConfiguration<Integer,Integer>("nCfg"),nCfg);
                for (int i = 0; i < Integer.MAX_VALUE; ++i) {
                        cache.put(i, i);
                }

When I connected to the cluster during the time client was writing, it
displayed the Total Entries(OnHeap/OffHeap) stats as 

 Name(@)    |    Mode     | Nodes |        Entries (Heap / Off-heap)
 Hits    |  Misses   |   Reads   |  Writes   |

nCfg(@c1)    | PARTITIONED | 2     | min: 1280928 (1280928 / 0)
min: 0    | min: 0    | min: 0    | min: 0    |
             |             |       | avg: 1922360.00 (1281896.00 /
640464.00)
avg: 0.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 |
             |             |       | max: 2563792 (1282864 / 1280928)
max: 0    | max: 0    | max: 0    | max: 0    |

Why should there be any entries "on heap" for the client node ? My
understanding was that since 2.0 if we do not enable on heap parameter
explicitly, everything is written off-heap.





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to