Why Are My Kubernetes Pods Consuming Maximum Memory Even with Low Traffic?

December 13, 2025 3 answers
Asked by CloudyNinja93
I've been working with Kubernetes and Jenkins for our CI pipeline, and I've noticed something concerning. We have a service that runs on four pods, and they are consistently using their memory at maximum capacity, often marked in red on the Kubernetes resource dashboard. I'm trying to figure out why this is happening and how to address it. Can anyone offer guidance on how to identify the root cause of this memory usage issue?

Answers

MemoryMaven88
Just to give some extra context, I see that each of your pods has a minimum memory of 1GiB, capped at 1.5GiB. Even if the traffic is low, that memory usage could still hit the limit. And since the CPU utilization is low, it seems like the memory issue is specific to how that service is configured.
Reply to this answer
DevDude42
If your service is Java-based, it's worth looking into the JVM settings. Are there any custom java_opts configured? The memory settings could be impacting how much memory is allocated. Knowing your JVM configurations might help clarify why the pods are maxing out their memory limits.
Reply to this answer
TechieTommy
First off, you need to find out which service is running on those pods. You can exec into the pod and check whatโ€™s eating up all that RAM. Also, if you have the option, try running that service locally to see how it behaves outside the cluster.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions