Instances

On the left side, a list of the live instances of the selected type or resource is shown.

The details of an instance can be viewed by double-clicking an entry in the Instances table or using the Show details command.

The list can be sorted by clicking on the column headers. The following information is presented in the instance table:

      New instance
This column indicates whether the instance is new, i.e., the instance did not exist in the comparison snapshot. If the new instance symbol is shown, then this instance is new; otherwise, it existed in the comparison snapshot as well.

      Disposed instance
 This column is only included for disposable types and indicates whether the instance has been disposed. If the disposed instance symbol is shown, then this instance has been disposed.

      Memory leak instance
 
This column is only included for managed types and indicates whether the instance has been identified as a potential memory leak instance using the .NET Memory Profiler API. If the memory leak symbol is shown, then this instance has been identified as a potential memory leak. For more information about memory leak detection, see .NET Memory Profiler API.

      Creation context
This column is only included for unmanaged resources and indicates the creation context of the instance using the following symbols:

   Managed runtime

   Unmanaged interop

   Other unmanaged

For more information about creation contexts, see Creation Context.

      Instance
This column shows the instance number. This number is unique for an instance during the profiler session.

      Root kind
If the selected type is the <GCHandle> pseudo type, this column shows the kind of the GCHandle. For more information about runtime GC handles, see GC Handle Identification.

      Referenced by (count)
This column is only included for managed types and shows the number of referees to this instance. A referee is a field, variable, or parameter that references this instance.

      Wrapped by (count)
This column is only included for unmanaged resources and shows the number of managed instances that wrap this instance  (i.e., contain a field that contains the resource instance identifier). For more information about wrapped instances, see Wrapped by.

      Size
This column shows the size of the instance.

      Size (with children)
This column shows the size of the instance plus the size of all other instances that are reachable from it.

NOTE! This value needs to be calculated for each instance in the list. This calculation may take a while, and this column will be empty while the calculation is in progress.

      Age
This column is only included for managed types and shows the age of the instance. The age is increased by one each time the instance survives a garbage collect.

      Identifier
This column is only included for unmanaged resources and shows the unmanaged resource identifier value of the instance (e.g., a HANDLE value).

 

 

.NET Memory Profiler User Manual

© Copyright 2002-2008. SciTech Software AB.

For information about .NET Memory Profiler, see the product site at http://memprofiler.com

.NET Memory Profiler is developed by SciTech Software AB