ergo
ergo copied to clipboard
Docker image container not honoring MAX HEAP boundary
Using the following environment input at startup of docker instance:
docker run -d -p 9030:9030 -p 9053:9053 --name ERGO-NODE --restart on-failure --net ergo-mainnet -v /opt/nodehistory:/home/ergo/.ergo -v /mnt/ergonodeconf/ergo.conf:/etc/myergo.conf -e MAX_HEAP=6G -e JAVA_OPTIONS=-Xmx6G -e _JAVA_OPTIONS=-Xmx6G <IMAGE> --mainnet -c /etc/myergo.conf
Yet the JVM size of the node grows out of control beyond the 6G limit.
23930 9052 20 0 11.6g 3.9g 393668 S 76.7 24.9 5:58.51 java