Hi All -
We are using NetAdvantage for Win Client 2009 Vol 1with the latest hotfix (NetAdvantage_WPF_20091.2196) applied.
We are experiencing a significant memory leak with passing Bitmap images to the XamDataCarouselcontrol. Around 4 MB per image (HD images).
It worked fine when installed on XP 32 bit but the leak appeared when using on Win 7 64 bit and .NET 3.5. No code was changed. Below is a code snippet. Does anyone have any ideas why this might be happening?
BitmapImage bmpImage = new BitmapImage();bmpImage.BeginInit();bmpImage.CreateOptions = BitmapCreateOptions.IgnoreImageCache;bmpImage.UriSource = new Uri(strbitmapPath);bmpImage.CacheOption = BitmapCacheOption.OnLoad;bmpImage.EndInit();if (bmpImage.CanFreeze){ bmpImage.Freeze();}((System.Windows.Controls.Image)objStillsUserControl.FindName("image1")).Source = bmpImage;albumCarousel.DataItems.Add(objStillsUserControl);In above code objStillsUserControl is a UserControl which is added in the XamDataCarousel object "albumcarousel".
Thanks,
-Gregg
Hello Gregg,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hi Stefan -
Thanks so much for your help offer. Currently we are investigating other alternatives. I'll let you know if we want to pursue this further.
Regards,
I will look forward to hear from you.