dotMemory Unit
 
Get dotMemory Unit

Work with Memory

Last modified: 10 May 2022

To analyze memory, first you need to take a memory dump (in terms of dotMemory Unit, called memory checkpoint or snapshot). To take memory checkpoints, you should use the Check method of the static dotMemory type. Therefore, the dotMemory.Check is an essential starting point for almost any memory test.

A MemoryCheckPoint instance returned by dotMemory.Check can be used as a baseline for comparison with other checkpoints, or for checking memory traffic between checkpoints. See Compare Snapshots and Work with Traffic correspondingly.

A lambda passed to the dotMemory.Check method allows slicing and dicing memory by specific conditions. An instance of the Memory type passed to that lambda contains all memory data at the current execution point. Use it to get data about specific objects and filter traffic data. See Work with Object Sets and Work with Traffic correspondingly.