Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Magnifier memory leak?

$
0
0
Hi all,

I've been using the magnifier control for an image viewing project where a user can open multi-page TIFF images, change page, rotate etc.

The magnifier works great but I seem to be having a problem where every time a new image or page is loaded to the viewer, the app memory increases (more so with bigger images) until eventually it throws an out of memory exception and crashes the app. I have tried without the magnifier control and it works fine so it is definitely this causing the issue.

I was wondering if there was a way to dispose or clear the memory for it, which I can call whenever the user changes the displayed image? Hiding the magnifier (visible) doesn't help and I couldn't see any other obvious way to achieve this.

Any help resolving this would be greatly appreciated.

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>