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
240
ultrapicturebox control
posted

Hi,

I have a windows (VS2005) C# form that contains ultrapicturebox controls on it. I create them on the fly as I need them, depending on the number of Images I need to display to the user.

Problem:  After opening and closing the form a number of times (maybe 30) (without closing the program), I am getting a OUT OF MEMORY error, and I know it is because the images are not getting released properly. Even though I am 'Disposing' and 'Garbage Collecting', these images are still not being released from memory.

Does anyone have a solution to this problem?

I am using v5.3 of Infragistics controls.

Does a newer version resolve this issue?

Thanks,

Dan