Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Potential Memory Leak in Infragistics.Win
posted

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 colorSchemeChanged
Infragistics.Win.UltraWinEditors UltraTextEditor
Pda.Padls.Palims.WindowsUI AccessionSamplesTabAnimalDetails
Pda.Padls.Palims.WindowsUI AccessionSamplesTabControl
System EventHandler
System.ComponentModel EventHandlerList.ListEntry
System.ComponentModel EventHandlerList
Infragistics.Win.Misc UltraButton
System EventHandler
System Object[
System EventHandler
Infragistics.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