dotMemory
 
Get dotMemory

Typical Profiling Workflow

Last modified: 11 February 2024

Your workflow in dotMemory may vary depending on the issue you want to analyze. Nevertheless, generally, it will always include the following steps:

  1. Run a dotMemory profiling session (period of time during which dotMemory measures different aspects of the app). This runs the app you profile as well.

  2. Work with your app for some time as you would normally do. If you seek for a certain memory issue, reproduce the issue in the app.

  3. Get a memory snapshot (an instant image of the managed heap).

  4. For more information about memory usage, you may also get more snapshots (for example, before and after reproducing the issue). dotMemory will allow you to compare these snapshots and understand how your app utilizes memory over time.

    note

    Taking snapshots at appropriate times may be essential for successful profiling of certain applications. Doing it manually doesn't guarantee the result. To take snapshots at the exact time, you can use the dotMemory API.

  5. Analyze the snapshot(s) to determine the cause of the issue.