Aspose.Pdf 9.5- out of memory exception

Hi


I am trying to use Aspose.Pdf. I process pdf, cut pages and save every single page to images in three different sizes.
In one file on last image (size 1710 x 1138), from method PngDevice.Process (but the same is for jpgdevice and bmpdevice), I receive following exception :

System.OutOfMemoryException:
Out of memory.<o:p></o:p>

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawPath(Pen pen, GraphicsPath path)

at ?.?.??[1](?? , ?? )

at ??.?.?(?? )

at ??.?.?()

at ??.?.[1]?(? )

at ?.‑?.?(? )

at ?.‑?.??(? )

at ?.??
.??(? , ArrayList )

at ?.??
.Process(?? document, ?? page,
 device, ?& context)

at .?.??(?& context)

at Aspose.Pdf.Devices.ImageDevice.??(Page )

at Aspose.Pdf.Devices.PngDevice.Process(Page page, Stream output)


It occurs each time, on different machines and with newest library version. If if decrease size to 90% it works correctly.

Do you have any ideas what I can do with it ?

I found similar bug it was fixed in previous version,

Best Regards!

Hi Jakub,


Thanks for your inquiry. We will appreciate if if you please share you sample code along with source PDF file. We will test the scenario and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,

P.S: Please also mention the version that was working fine with your scenario. It will help us in investigation.