In recent times, I have encountered java.lang.OutOfMemoryError
exception while running an application.
During one such instance, I was able to get the heap dump using jvisualvm
.
I am able to open the .hprof
heap dump file obtained from the heap dump using NetBeans 8.1
IDE but I am not aware of how to analyze the data dump. I'd like to know how to read the dump file and take corrective actions to reduce the out of memory exception from an application perspective.