logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Dennis  
#1 Posted : Wednesday, July 6, 2016 12:25:10 AM(UTC)
Dennis

Rank: Newbie

Groups: Registered
Joined: 6/23/2016(UTC)
Posts: 2

Hi,

we have a serious problem when using your PDF SDK.

We built a viewer with your controls. So far it works really nice.

Unless you zoom in. The program crashes when we zoom into a pdf several times (800%) because of the high memory comsumption.


Patagames.Pdf
at Patagames.Pdf.Net.PdfBitmap..ctor(IntPtr handle)
at Patagames.Pdf.Net.PdfBitmap.Clone(FX_RECT clip)
at Patagames.Pdf.Net.Controls.WinForms.PdfViewer.DrawPage(Graphics graphics, PdfPage page, Rectangle actualRect)
at Patagames.Pdf.Net.Controls.WinForms.PdfViewer.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Memory

We tried the Forms and the WPF control, same results.
Each zoom increases the memory usage.

This also happens while scrolling within the viewer when it is zoomed.


How can we solve this?
Dennis  
#2 Posted : Thursday, July 7, 2016 2:52:44 AM(UTC)
Dennis

Rank: Newbie

Groups: Registered
Joined: 6/23/2016(UTC)
Posts: 2

Found a work arround by forcing x64.
Paul Rayman  
#3 Posted : Tuesday, August 9, 2016 7:12:47 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.