This worked example is for ANTS Memory Profiler 7. |
In this worked example, ANTS Memory Profiler is used to find out what uses most memory in Red Gate's Exception Hunter:
Byte[]
class is the largest class, accounting for 73.74MB of managed memory used by the application. cB
. On the Byte[]
node on this path, click Show instances on this path.System.String
it might be interesting to use the Instance List to look at the values of the strings, but this is unlikely to be the case for Byte[] instances, so choose any one and click . Byte[]
class accounts for most memory used by this program (73.74MB).Byte[]
class (46 instances, totaling 23.9MB) are held on a path leading back to a GC root object from the class cB
.cv
, which in turn is being kept in memory by both cB
and cB+e
.