Today, we are talking about something that you might not know if you are new to deploying Java applications to Kubernetes. As you know, Java is a garbage-collected language. The GC in Java has a lot of parameters for tuning, and there are multiple different algorithms you can choose from, each with a particular trade-off between latency, CPU consumption, and memory overhead. One important thing to note is that each GC algorithm has some memory overhead.