Category : jvm

I read similar questions "what-does-usecontainersupport-vm-parameter-do", but the same parameters do not take effect under my system Why the jvm parameter UseContainerSupport does not work my system: ➜ ~ screenfetch ██████████████████ ████████ [email protected] ██████████████████ ████████ OS: Manjaro 21.1.0 Pahvo ██████████████████ ████████ Kernel: x86_64 Linux 5.13.1-3-MANJARO ██████████████████ ████████ Uptime: 2h 22m ████████ ████████ Packages: 1365 ████████ ████████ ..

Read more

here is the situation about jstat: 3G young,1.7G old,total about 4.7G: but,in rss situtation,it looks like that: I don’t know why. especially in others pods(with the same container in it), rss > java heapSize. here is the jvm optition: -XX:+UseG1GC, -XX:+UseStringDeduplication, -XX:-OmitStackTraceInFastThrow, -XX:MaxRAMPercentage=75.0, -XX:InitialRAMPercentage=75.0, -XX:+PrintTenuringDistribution, -XX:+PrintGCDetails, -XX:+PrintCommandLineFlags, -XX:+PrintHeapAtGC, -XX:+PrintGCDateStamps, -XX:+PrintGCTimeStamps, -Xloggc:log/gc-%t.log, here is the pod ..

Read more

We are using docker swarm on the server for orchestration. using openjdk8. My backend application is a rest service named "api". On the master, if do : docker service ls see the result : ID NAME MODE REPLICAS IMAGE PORTS 7l89205dje61 integration_api replicated 1/1 docker.repo1.tomba.com/koppu/koppu-api:3.1.2.96019dc …………….. Time to time I am seeing an error in ..

Read more

We are using docker swarm on the server. using openjdk8. If do : docker service ls see the result : ID NAME MODE REPLICAS IMAGE PORTS 7l89205dje61 integration_api replicated 1/1 docker.repo1.tomba.com/koppu/koppu-api:3.1.2.96019dc …………….. I am trying to update jvm heap size for this service so I tried : docker service update –env-add JAVA_OPTS="-Xms3G -Xmx3G -XX:MaxPermSize=1024m" integration_api ..

Read more

We are running a Java application in a Kubernetes cluster. The application itself doesn’t have high demand for RAM, but I’ve noticed that it always consumes 1GB. kubectl top pods NAME CPU(cores) MEMORY(bytes) my-application-c0ffee 100m 1127Mi my-application-c0ffee 100m 1109Mi When I checked jcmd <pid> GC.heap_info inside the container, I got the following: def new generation ..

Read more