In Part One of the Java Heap Analysis blog we monitored the heap and created a heap dump. In Part Two we will look into analyzing the heap and how to determine the cause of the leak.
In Java performance testing, one of the most common and sometimes most frustrating issues is the memory leak. Even the most experienced engineer can slip a memory leak into their code. It is important to know how to spot one and debug the issue. Even if you can’t find the source of the issue without a developer’s help, they will always need data to work with so being able to provide useful information is crucial. Therefore, for a Java memory leak, the first thing you will always be asked for is a heap dump.