I am running a Java application and faced an error Out of memory. .hprof file is generated. What do I use to analyse what's in the file? How to read that file? Any suggestion?
Thanks in Advance!!!
Opening a Heap Dump File If you have a heap dump file saved on your local system, you can open the file in Java VisualVM by choosing File > Load from the main menu. Java VisualVM can open heap dumps saved in the . hprof file format. When you open a saved heap dump, the heap dump opens as a tab in the main window.
hprof files are heap dump of the memory of java-based processes. Huge hprof files most commonly indicate out of memory issues about the related processes. These hprof files can be configured at startup to track and monitor memory performance issues.
hprof ending has been created, you can open it via a double-click in Eclipse. If you used MAT to create the heap dump, it should be opened automatically. You may need to refresh your project (F5 on the project). Double-click the file and select the Leak Suspects Report.
hprof files are java crash dumps. To analyze the cause of a crash at the time when the . hprof was generated, these files will be required by programs such as Eclipse Memory Analyzer (MAT) to review further. If there is no need for root cause analysis, these files can be deleted.
Memory Analyzer is the best tool I found for that. It's free and very efficient.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With