Page 1 of 1

How to find List of User Object in .Net memory profiler

Posted: Thu Nov 26, 2009 2:24 pm
by paul1982
We are facing the error "Error in creating window handle". when we looked at the User objects it reached 10,000 (Limit). we have collected full dump and loaded in WinDBG and .Net Memory profiler but unable to list out all the user objects. it would be great if I get to know some way to list out the User objects.

Thanks,
Praveen V

Posted: Fri Nov 27, 2009 1:04 pm
by Andreas Suurkuusk
In order to get information about unmanaged resources (like User objects), you need run the application under the profiler with the resource tracker enabled. Win32 User object info is not available in a memory dump, or when attaching to a process.

Posted: Mon Nov 30, 2009 6:21 am
by paul1982
Thank you for your reply.

when we loaded the dump in .net memory profiler we have all the objects including unmanaged resources. but it is very difficult to search through all the objects to find out user objects. is there any way to get only user objects list in so that we can take that list and fix those.

Thanks,
Praveen V

Posted: Mon Nov 30, 2009 9:54 pm
by Andreas Suurkuusk
What objects are you referring to when you say that you "have all the objects including unmanaged resources"? When importing a memory dump, the profiler will not present information about unmanaged resource instances. Can you provide some additional information about what you are trying to do, and what user objects you are investigating?