Understanding Results of Memory Test
HenriFraz
Posts: 3
Need a little clarification on interpreting my results. In the "All Classes" tab I show:
"Total Created" displays 557,664,
"Live Count" displays 19,247
"Module Name" displays mscorlib.dll
"Class Name" String
I interpret this as 557, 664 string objects have been allocated in memory from the mscorlib.dll, 538,417 have been deallocated and 19,247 are still dangling in memory. Is my interpretation correct? I did see a post on "Live Counts", but need a little more insight.
Any help is appreciated.
"Total Created" displays 557,664,
"Live Count" displays 19,247
"Module Name" displays mscorlib.dll
"Class Name" String
I interpret this as 557, 664 string objects have been allocated in memory from the mscorlib.dll, 538,417 have been deallocated and 19,247 are still dangling in memory. Is my interpretation correct? I did see a post on "Live Counts", but need a little more insight.
Any help is appreciated.
This discussion has been closed.
Comments
The all objects tab will show the number of a particular object type that is still 'live'. This is a count of the total number of a certain type of object that had been constructed and is still being referenced by your program after ANTS Profiler had forced the garbage collector to clean up any objects that are not being referenced by your program.
Built-in object types such as int and string are also counted here, even though the developer doesn't have much control of when and how they're disposed.