c# - How to find memory used by each object in a program? -


How can I find out about the memory used by each object in a program?

For example: I want to know that this object is used by "someclassinstance" (in "KB").

someclass someclassinstance = new someclass ();

The total memory used by the application in the task manager ... but is there a way to see detailed reports about memory usage for each object instance?

Note: I have tried the CLR profiler ... but I know until this is used by only the total memory strings ... it does not show the memory used by each string object.

Thanks

is free and can do so. It has a learning curve, but that document comes to you.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -