Inherited Infragistics UltraStatusBar memory leak

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.

Moderator: SciTech Software

Inherited Infragistics UltraStatusBar memory leak

Postby tkelley@hrimaging.com » 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:

Image

Please let me know if you need any more information.

Thanks for your time.

Tim
T Kelley
tkelley@hrimaging.com
 
Posts: 7
Joined: Mon Dec 07, 2009 7:34 pm
Location: USA

Postby 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:
http://www.scitech.se/blog/index.php/2008/03/20/minor-memory-leak-introduced-in-net-framework-20-sp1/.

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

Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
 
Posts: 995
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden


Return to Using .NET Memory Profiler

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 6 guests

SciTech Software logo

© Copyright 2001-2016. SciTech Software AB
All rights reserved.


SciTech Software AB
Kartvägen 21
SE-175 46 Järfälla
Sweden


E-mail: mail@scitech.se

Telephone: +46-706868081