## Saving live sessions to disk |

| Snapshots of live profiling sessions can be saved to disk by selecting Session->Save snapshot from JProfiler's main menu or by clicking on the corresponding tool bar entry in JProfiler's main tool bar. A file chooser will be brought up where you can select the name and directory of the snapshot file to be written. The standard extension of JProfiler's snapshot files is `*.jps`. Once JProfiler has finished writing the snapshot to disk, a message box informs you that the snapshot was saved.

| Saved snapshots can be loaded by selecting Session->Open snapshot from JProfiler's main menu. by selecting a file from the "Open snapshot" tab in JProfiler's start center. After a snapshot has been loaded, the functionality of all views is identical to a live profiling session with the exception of the heap walker view: The heap walker overview will be shown if a heap snapshot was taken at the time of saving, otherwise the heap walker will be unavailable. The status bar indicates that a snapshot is being viewed by displaying the message Snapshot in its rightmost compartment.

| You can also save snapshots with the offline profiling API.