dotMemory Unit
 
Get dotMemory Unit

Compare Snapshots

Last modified: 10 May 2022

The SnapshotDifference type allows you to compare two memory checkpoints (snapshots) created by the dotMemory.Check method and get data about how many objects were created between snapshots and how many objects were collected. This may help you, for example, to determine ineffective memory usage or a memory leak. The object of the SnapshotDifference type is a result of the GetDifference method* of the Memory type.