title: How to find memory used by each object in a program?
body: <p>How do I find out about the memory used by each object in a program?</p>
  
  <p>For example : I want to know how much memory(in Kb) is used by this object "someclassinstance"..</p>
  
  <p>someclass someclassinstance=new someclass();</p>
  
  <p>I can see the total memory used by the application in the task manager...But Is there a way to see detailed report about memory usage for each object instance?</p>
  
  <p>Note:I've tried CLR profiler..but it only shows total memory used by strings as far as i know...It does not show the memory used by each string object.</p>
  
  <p>Thanks</p>