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
40
UltraChart memory leak
posted

Hello,

We encountered a memory leak using Infragistics UltraWinChart.UltraChart control.

The leak is visible, using mem profiler or a program alike. We wrote a simple sample that shows the problem. This sample program only have two forms, the first form has some buttons and the second form has only a UltraChart on it, no data for the UltraChart or other special properties. With one button on the first form you can show the second from with the UltraChart on it, with another button you can call the garbage collector manually. Before and after we have showed the second form and called the garbage collector, we took a snapshoot with our mem profiler. In the mem profiler we can see many instances that are disposed but never get cleaned up by the garbage collector. It seams to depend on some kind of layout element cache as it happens only for the first time. This behaviour was testet, using Version 8.1 and Version 8.2

The Problem within our application (not the sample :-) )is, that the WinChart Control holds our form and Controls on this form. All those elements are disposed but never cleared! How can we solve this problem? Hotfix?

Kind regards 

 

 

  • 28496
    Offline posted

    i see this was entered into our bug tracking system as BR35075, so it appears that you have already submitted this to our support department.  this issue hasn't been reviewed yet, but it should be resolved in a future hotfix.