HPJmeter is a tool that can be used to analyse garbage collection logs. HPJmeter is a useful tool to assist in identifying JVM issues.
How to use
- Download the tool from here to your machine
- Execute the jar file to open the application. Retrieve the garbage collection log (gc.log) and save it somewhere to be opened by HPjmeter
- Go to Open File and select the gc file. You should get something that looks like this:
This shows heap usage after GC and the garbage collection details. Pink indicates the JVM going into full GC.
Memory leak indicative
The below is an example indicative of memory issues where garbage collection goes and stays into full GC never able to release objects to decrease memory usage. When this happens there should be out of memory errors visible in the logs themselves.