So to conclude, if I have enabled on heap storage for cache(using cache.setOnHeapEnabled(true), then : 1. Still data will be stored off heap, but will be loaded to heap. To escape out of memory error, I have to set eviction policies. 2. Off heap entries will be written to disk based on data page eviction mode enabled on data region. This size is limited based on initial and maximum size of data region.
I hope this is how it works. Big thanks !! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/