.net can I determine how much memory is used by a collection object during a debugging session?

I have a List collection, where a collection of objects is a typical user object with a typed typed name, I have about 300 objects in the collection.

Is it possible for me to determine how much memory is used by this particular list when executing code during a debugging session.

+4
source share
2 answers

You can use a memory profiler like the .NET Memory Profiler . MS also has a free CLR Profiler , but I'm not sure if it shows memory allocation since I never used it.

0
source

All Articles