We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

High memory consumption during PDF to PNG conversion

Hello,

We are experiencing high memory consumption during PDF conversion to PNG images. Application take 2+ GB of memory. CPU usage is minimal.
Reproduction source code:

using var doc = new Aspose.Pdf.Document("test.pdf");

var resolution = new Aspose.Pdf.Devices.Resolution(96);
var pngDevice = new Aspose.Pdf.Devices.PngDevice(resolution);

pngDevice.Process(doc.Pages[1], "image.png");

test.pdf: https://rixtech-my.sharepoint.com/:b:/g/personal/dmitry_bogatykh_rixtech_lv/EdFIQb0gYWtJmpOyxKaFNNIBk0ytbb5T1oRr3M66tgrzbA?e=sjUcpF

@dmitry.bogatykh

We have logged this problem in our issue tracking system as PDFNET-53098. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.