Hi Team,
I’m facing a problem with converting one small pdf file (11 Mb) to pdfa format. A process takes about 5 minutes and finished successfully, however the result is empty. Also, conversion consumes a very large amount of memory (up to 10 Gb). I’m using Aspose.Pdf 19.8.0 (20.1.0 gives the same results), net core 2.1 and a peace of code below:
using (var pdfADoc = new Document(fileToConvert))
{
using (var logStream = new MemoryStream())
{
pdfADoc.Convert(logStream, PdfFormat.PDF_A_1B,
ConvertErrorAction.Delete);
doc.Info.ModDate = DateTime.Now;
var options = new Aspose.Pdf.PdfSaveOptions
{
WarningHandler = Instance.CustomPdfWarningHandler ?? new HandlePdfWarnings()
};
pdfADoc.Save(destination, options);
}
}
Diagnostic screenshot:
image.png (59.7 KB)
File to process:
Askøy kart.zip (8.5 MB)
Thank you
Best regards,
Anna