Getting started
To use the Memory Profiler, open its window (menu: Window > Analysis > Memory Profiler)
The Memory Profiler window has three main areas:
The Memory Profiler window
A The Snapshots panel, which contains all the memory snapshots in your Project, and allows you to compare snapshots.
B The Main view, which displays the in-depth memory data of your snapshot.
At the top of the window there are the following controls:
Control | Function |
---|---|
Toggle snapshot panel | Expand or hide the snapshots panel. |
Attach to Player | Select which target to take a memory snapshot of. You can select Play Mode in the Editor, any Player you have running, or the Editor itself. You can also click Enter IP in the drop-down to manually enter the IP address of the device you want to profile your application on. For more information, see the User Manual documentation on Profiling your application. |
Capture | Select this button to take a memory snapshot. This operation might take a few seconds, depending on the size of your application. Once the Memory Profiler has captured the snapshot, it appears in the Snapshots panel. |
Import | Import a saved capture file. For more information, see Import a snapshot in this documentation. |
View history | Use the arrow buttons to switch between views you previously opened. |
Load view | Load a saved view. |