How to list all managed objects in heap in .Net?

Posted by Kirill on Stack Overflow See other posts from Stack Overflow or by Kirill
Published on 2010-05-29T08:49:01Z Indexed on 2010/05/29 8:52 UTC
Read the original article Hit count: 319

Filed under:
|
|
|
|

Hi, is it possible to list all objects stored in heap. I would like to do something like this:

IEnumerable<GCHandle> listOfObjectsInHeap = GetListOfObjectsFromHeap();

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET