Category : memory

It seems that no matter what I try, running java -XshowSettings:vm -version on my container yields the same output VM settings: Max. Heap Size (Estimated): 494.94M Using VM: OpenJDK 64-Bit Server VM openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment 18.9 (build 11.0.11+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9, mixed mode, sharing) I can’t figure ..

Read more

I am running docker stats $CONTAINER_ID from a shell script to monitor my Docker container memory and CPU usage over a period of 1 hour. I have the below shell script. #!/bin/sh # First, start the container CONTAINER_ID=abcadsasdasd # Then start watching that it’s running (with inspect) while [ "$(docker inspect -f {{.State.Running}} $CONTAINER_ID 2>/dev/null)" ..

Read more

Current Setup: Java application running as Kubernetes workload on Google Kubernetes engine JVM args : "-XX:+UseContainerSupport", "-XX:NativeMemoryTracking=detail", "-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/dumps/oom.bin", "-Xmx300m", "-Xms300m" Docker memory set using deployment.yml limits: cpu: 350m memory: 700Mi requests: cpu: 200m memory: 128Mi Native memory committed is below 550m when the pod is very near to hitting the max container limit. This ..

Read more