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.
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.