desktop application user objects limit

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Posts: 1
Joined: Mon Mar 05, 2012 12:11 pm

desktop application user objects limit

Post by brucegu » Mon Mar 05, 2012 12:15 pm

hi all
USER OBJECTS exceeded the 10000 limit, how to find which class raise the issue?
any reply is appreciated.

Andreas Suurkuusk
Posts: 1030
Joined: Wed Mar 02, 2005 7:53 pm

Re: desktop application user objects limit

Post by Andreas Suurkuusk » Thu Mar 08, 2012 10:57 am

The unmanaged resources tracker in .NET Memory Profiler should be able to help you find out how the USER objects are created.

First of all, I recommend that you make sure that the symbol file locations are correctly initialized using Tools->Options (see screenshot below).
Symbol settings
symbols2.png (35.73 KiB) Viewed 8075 times
When you start profiling your application, make sure the unmanaged resources tracker is enabled. While profiling you can collect a few snapshots and investigate the USER objects . If the number of instances seems to increase for each snapshot, you can investigate this further. The allocation call stacks of the new resource instances should hopefully give you information about why and how they were created.

I hope this helps you get started.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests