You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Java application deployed using Docker,but docker container keeps increasing memory usage, JVM memory is normal, How should I troubleshoot this issue,thank you!
Reproduce
Service just started
After 1 million requests
Expected behavior
Does the Docker Stats instruction count a decrease in memory usage after a period of time without receiving a request
This is unlikely Docker's issue. The container also runs other processes other than JVM. As you can see on your screenshots, the amount of processes increased from 77 to 129 which means that the higher memory usage is most likely caused by additional processes being ran.
Let me close this issue, as it's not related to the CLI.
Description
A Java application deployed using Docker,but docker container keeps increasing memory usage, JVM memory is normal, How should I troubleshoot this issue,thank you!
Reproduce
Expected behavior
Does the Docker Stats instruction count a decrease in memory usage after a period of time without receiving a request
docker version
Client: Docker Engine - Community Version: 26.0.1 API version: 1.45 Go version: go1.21.9 Git commit: d260a54 Built: Thu Apr 11 10:54:59 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 26.0.1 API version: 1.45 (minimum version 1.24) Go version: go1.21.9 Git commit: 60b9add Built: Thu Apr 11 10:53:19 2024 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.6.31 GitCommit: e377cd56a71523140ca6ae87e30244719194a521 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
-Dcom.sun.management.jmxremote
-Djava.rmi.server.hostname=172.168.50.82
-Dcom.sun.management.jmxremote.port=18000
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.security.egd=file:/dev/./urandom
-XX:ReservedCodeCacheSize=512m
-XX:ReservedCodeCacheSize=512m
-XX:CICompilerCount=4
-XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=128m
-Xms512m
-Xmx512m
-Xmn256m
-XX:+PrintGCDetails
-XX:NativeMemoryTracking=detail
-XX:SurvivorRatio=8
-XX:+UseG1GC
The text was updated successfully, but these errors were encountered: