Inherited Infragistics UltraStatusBar memory leak

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Posts: 7
Joined: Mon Dec 07, 2009 7:34 pm

Inherited Infragistics UltraStatusBar memory leak

Post by » Wed Dec 09, 2009 2:21 pm

I have a program in which all forms inherit an Infragistics UltraStatusBar control. I seems that this control is getting disposed but not garbage collected. I perform the following to create the problem:
1. start the app
2. click a button to open a child form (which inherits the control)
3. close the child form
4. take a snapshot of memory
If I click on the UltraStatusBar error message in the profiler it takes me to the instance details and I see that it is referenced by (namespace) System.Windows.Forms (name)PropertyStore.ObjectEntry[] (I think). I have no idea what this is.

There is also an issue with the UltraStatusPanelsCollection (it is disposed but not garage collected). It looks like it is also referenced by System.Windows.Forms PropertyStore.ObjectEntry[].

I have included a screenshot:


Please let me know if you need any more information.

Thanks for your time.

T Kelley

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

Post by Andreas Suurkuusk » Wed Dec 09, 2009 9:45 pm

The PropertyStore is used by the framework to save space when storing properties. This makes it a bit more difficult to find out what's really referencing your Form. However, it does look a little like a memory leak that I have written about in my blog. Take a look at: ... rk-20-sp1/.

Do you think that this is what's causing your problem?
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests