I have been using Infragistics win tool set for a couple of years now. On my current project we are having memory issues, so I have been asked to do some memory profiling. When we open up a form in our application and close it the memory profiler shows that the form we closed is disposed, but it will not garbage collect because something in infragistics has a reference to it. I have done many scenarios and have seen that Infragistics.Win.XPThemes and Infragistics.Win.Office2007ColorTable both have reference to my form. Because of this the GC (garbage collector) will not collect my form and releases its memory.
This is a stacktrace that my memory tool is showing me the reference to:
Pda.Padls.Palims.WindowsUI AccessionForm - This form is DISPOSED but will not garbage collect because of colorSchemeChangedInfragistics.Win.UltraWinEditors UltraTextEditorPda.Padls.Palims.WindowsUI AccessionSamplesTabAnimalDetailsPda.Padls.Palims.WindowsUI AccessionSamplesTabControlSystem EventHandlerSystem.ComponentModel EventHandlerList.ListEntrySystem.ComponentModel EventHandlerListInfragistics.Win.Misc UltraButtonSystem EventHandlerSystem Object[System EventHandlerInfragistics.Win Office2007ColorTable colorSchemeChanged
Can someone please explain to me what these reference are used for and how I might eliminate them?
Thank you, Brandon Rohrer
Hi Brandon,
It's hard to say for sure, but it looks like the control may not be unhooking from an event when it gets disposed. You should Submit an incident to Infragistics Developer Support
Thank you for your response Mike.
I was having a online chat with Puneet Arora and he seemed to think that the most recent hotfix could resolve this issue.
Do you think this is a known issue?
Brandon
It's certainly possible, I couldn't say for sure. I thought this sounded vaguely familiar, though. I recommend getting the hot fix and see if that helps. If not, report the issue.