No, heap and off-heap memory are different features.
Heap memory uses -Xms and -Xmx option to allocate the
memory used for different operations and generally can't be used
for data storing (in case of you don't set on-heap caching). Java
GC will work with current memory.
Off-heap memory uses initial and max properties
for region size that should be set in the data region
configuration. This memory will be used for data storage. Java GC
will not work with current memory.
I have below question:
Do both on-heap & off-heap caches use memory from data regions (by setting
initial & max
Does Ignite use heap provided to the application (-Xms & -Xmx) for cache
Sent from: http://apache-ignite-users.70518.x6.nabble.com/