| Author |
Message |
Shaggs
Joined: 16 Apr 2012 Posts: 1
|
Posted: Mon Apr 16, 2012 7:23 am Post subject: Interpreting an Instance Retention Graph |
|
|
I've just started using ANTS Memory profiler, and I'm having some trouble working out just what the instance retention graph means. I have managed to use it to identify some memory leaks - mostly events that were not being de-registered. But I have now come across some references in the graph which I cant work out what they are being caused by.
A screengrab of my graph can be seen here: http://www.decezy.com/images/ANTS_Screenshot1.png
I cant work out whats going on here. The FrmJobCard is the form which is not being released from memeory. The UltraCalcManager is an infragistics tool which allows other Infragistics controls to calculate a value, based on other controls. When added to the form, it automatically adds itself to all the controls in the FrmJobCard.Designer.cs.
There are no events associated with it (UltraCalcManager), so there is nothing to unload.
Can someone point me in the direction I need to go? What to look for? Or if this forum is not for this kind of thing, where can I go?
Thanks. |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 864 Location: My desk.
|
Posted: Mon Apr 16, 2012 6:48 pm Post subject: |
|
|
Thanks for your post. It's hard to be specific without having your code to hand, but based on your screenshot it looks like some of the Infragistics styling objects are the cause (the delegates hooked up to the XPThemes.themeChanged, Office2007ColorSchemeChangedNotifier.colourSchemeChanged and StyleManager.styleChanged.
It's a while since I've worked with Infragistics controls to really recall how these are configured, but I'd check you've not set some events on those somewhere that aren't being unhooked, or whether these implicitly get created by a styleManager type object you're not clearing? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group