Why a Java Pod Gets OOMKilled in Kubernetes With a Half-Empty Heap
A container memory limit covers the whole JVM, not just the heap. Where the rest goes, measured on real JDKs, and how to size the limit.
Software engineer working with Java on Kubernetes; author of jvm-fit, k8s-guardian and Logbeam.
Andrii Zhukovskyi is a software engineer who works with Java and Spring Boot services on Kubernetes. He builds small open-source tools such as jvm-fit, k8s-guardian and Logbeam, and publishes them as Dre Dev.
A container memory limit covers the whole JVM, not just the heap. Where the rest goes, measured on real JDKs, and how to size the limit.