How can I figure out how much goo my object is holding onto?
Previously, we figured out a way to eek out class size information from strike. This is kind of interesting, but you also might want a way to know the size of everything your object instance is holding onto. There is another strike command called "ObjSize", which will print out the size of all child objects in addition to the parent object.
ObjSize [<Object address>]
Displays the size of the specified object. With no parameters, the ObjSize command displays the size of all objects found on managed threads, displays all garbage collector handles in the process, and totals the size of any objects pointed to by those handles. The ObjSize command includes the size of all child objects in addition to the parent.
Via MSDN - more strike commands here.
Note, my quick trial of it at home found that !ObjSize worked for me from the immediate window, but !ObjSize <address> may require WinDbg to work correctly.