You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you open a large and long (>250 pages) PDF, maximize the window, set zoom to fit width, grab the scroll bar and start to pull it down, not too slow nor too fast, you will get this error: "An unhandled exception of type 'System.OutOfMemoryException' occurred in PresentationCore.dll" at line 36 of BitmapExtensionMethods.cs.
The text was updated successfully, but these errors were encountered:
When I open a large and long (>250 pages) PDF, maximize the window, set zoom to fit width or bigger, grab the scroll bar and start to pull it down, not too slow nor too fast, I will get this error: "An unhandled exception of type 'System.OutOfMemoryException' occurred in PresentationCore.dll" at line 36 of BitmapExtensionMethods.cs (constructor of WriteableBitmap class).
When the application is running, the memory usage extremely increase.
I put these lines after "var img = new PdfImage { ImageSource = bms, Margin = margin };" in PdfImageProvider.cs in your source, but not worked:
Hi, guys. You can set MaxZoomFactor property of MoonPdfPanel based on your situation. For example, set 2.8 to MaxZoomFactor is OK when I using one file contains 906 pages while setting 3.0 to MaxZoomFactor will out of memory.
If you open a large and long (>250 pages) PDF, maximize the window, set zoom to fit width, grab the scroll bar and start to pull it down, not too slow nor too fast, you will get this error: "An unhandled exception of type 'System.OutOfMemoryException' occurred in PresentationCore.dll" at line 36 of BitmapExtensionMethods.cs.
The text was updated successfully, but these errors were encountered: