The second question: I run the ignite nodes in the docker container with the following command: sudo -u docker docker run -v /mnt/logs/apps/ignite:/mnt/logs/apps/ignite -v /opt/ignite/ext-libs:/opt/ignite/ext-libs -v /opt/ignite/config:/opt/ignite/config -v /var/lib/ignite/persistence:/var/lib/ignite/persistence --name ignite --net=host -e "CONFIG_URI=file:///opt/ignite/config/ignite-config-prod-us.xml" -e "OPTION_LIBS=ignite-zookeeper,ignite-indexing,ignite-log4j2,ignite-rest-http" -e "JVM_OPTS=-Xms2g -Xmx2g -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/mnt/heapdump/ignite -XX:+ExitOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Xloggc:/mnt/logs/apps/ignite/gc.log" -e "EXTERNAL_LIBS=http://www.*.jar" -d apacheignite/ignite
In the command, we can see that the JVM heap size are 2G, but the Docker container consumes more than 4G: [jisen@w2_s_ignite_003 ~]$ sudo docker stats ignite CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ignite 0.35% 4.119GiB / 7.45GiB 55.29% 0B / 0B 979kB / 250GB 114 So, I want to know why the Ignite container consumes so many memory -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
