Hi!
The data regions are always off-heap, you just configure the Java heap
for on-heap usage with -Xmx and so on as usual, have a look in the
ignite.sh/ignite.bat, it depends on how you run your application, just
configure this any way you like if you use embedded Ignite instance,
also read the section about capacity planning.
The java heap is just for java objects, services and any on-heap data,
all caches are stored in data regions and they are off heap and have
nothing to do with -Xmx except when you use on-heap caching.
The Ignite documentation is very good and explains all you need to know
on how to configure it.
https://apacheignite.readme.io/docs/memory-configuration#section-on-heap-caching
https://apacheignite.readme.io/docs/memory-configuration
Mikael
Den 2019-12-07 kl. 17:41, skrev c c:
HI,
According to document we can setup memory size by
org.apache.ignite.configuration.DataStorageConfiguration. But we do
not know this works for off-heap or on-heap memory. We want to know
how to setup ignite jvm startup option(xms, xmx). Shoud jvm heap
memory be great than maxSixe in DataStorageConfiguration. We know
some hot data would be deserialized from off-heap to on-heap. Would
you mind giving me some advice? thanks very much!