Overview
Java is famous for its robust garbage collector algorithm, yet it is still possible to have memory leaks in JVM applications. To deal with this, it is important to obtain and analyze a heap dump to identify potential leaks in our application.
In this short tutorial, we will explore how to generate a Java heap dump from an application running as a Kubernetes pod.
We will first check the authenticity of the heap dump. Next, we will create a simple test application that we will later deploy as a pod on Kubernetes. Finally, we will demonstrate the process of getting a heap dump from our application.
Continue reading “How to get Java heap dump from Kubernetes container into a local machine?”