June 2018
Intermediate to advanced
316 pages
6h 34m
English
HProf is a tool for profiling the CPU and the heap that's built into the JDK. HProf can generate files with the .hprof extension that contain detailed information about the current state of the JVM. HProf uses the bytecode insertion tool to get access to all class images that have been loaded into the JVM.
IntelliJ IDEA Ultimate allows you to generate a .hprof file in a simple fashion. All you need to do is click the Capture Memory Snapshot button in the Tools context menu:

A .hprof file will be generated and saved to the user directory as a .zip archive. After this, you can unzip the .hprof file. These are large files; in my case, it ...
Read now
Unlock full access