Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy-to-use performance and memory .NET profiler for Windows, Linux and macOS.
Secure and easy profiling in cloud, containers and clustered environments.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Capturing snapshots

Much useful profiling information is available in the live views when the profiler is connected to a profiled application. However, to use all analysis capabilities the profiler provides, a snapshot should be captured, i.e. the collected profiling data written to a file.

The snapshot files have extension .snapshot and are created in the snapshot directory. To capture a performance snapshot, connect to the profiled application and use corresponding toolbar button:

When you capture snapshot of the remove application, profiler will offer to download the captured snapshot from the remote computer. You will able to enable compression to save the network traffic.

Automatic snapshots

Snapshots can also be captured automatically:

Memory vs performance snapshots

Memory snapshots contain the memory state of the profiled application at the moment it was captured. It contains information about all loaded classes, about all existing objects, and about references between objects.

The heap is necessary for comprehensive memory profiling. If you need that information, capture memory snapshot:

Performance snapshot will contain all the same information as a memory snapshot except for the detail on individual objects in the heap.

Note: snapshots captured on exit are always performance snapshots due to a technical reason: capturing a memory snapshot requires to force garbage collection which is not possible when the CLR is being shut down.

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.