I have installed a cluster of 3 hazelcast nodes. Each hazelcast node is installed in a dedicated VM (running with centos 7). Each VM has 16GB RAM and a 15GB HDD. for each hazelcast node I set the heap memory size in the start.sh script as MIN HEAP SIZE=8G and MAX HEAP SIZE=10G.
However, when I monitor the memory usage on the VM, it is not matching the heap memory usage of hazelcast at all. Let me give you an example: the VM is showing the memory usage 80%. however when I check hazelcast heap memory usage it is at 45%. it is like the VM memory usage is following the higher memory usage of hazelcast. then when the GC starts in hazelcast the heap memory usage on hazelcast decreases but the VM memory usage never decreases. in the VM I also disable THP and set the swappiness to 10 as mentioned in the performance tuning documentation Performance Tuning (hazelcast.com)
So is there a missing configuration that I should do for hazelcast? What can/should I do?