I have a Kubernetes setup of 7 Apache Ignite servers and over 100 clients.
With my current Apache Ignite configuration, I am seeing the following line of log for the servers:
java.lang.OutOfMemoryError: Java heap space
Below is the memory configuration Apache Ignite server:
I would like to know what should be the optimum Memory configuration for the Apache Ignite cluster
It depends on what you're trying to do -- persistence and SQL tend to use more heap space for example -- but both 2Gb and 768Mb are much smaller than I'd expect for an in-memory database.
The tuning guide suggests 10Gb as a starting point:
-server
-Xms10g
-Xmx10g
-XX:+AlwaysPreTouch
-XX:+UseG1GC
-XX:+ScavengeBeforeFullGC
-XX:+DisableExplicitGC