The following code with attached PDF causes 100% processor and runaway memory usage with Aspose.PDF for .NET 19.11, and never finishes (left it for 30 minutes): input.pdf (7.0 MB)
var pdf = new Aspose.Pdf.Document("input.pdf"); var absorber = new Aspose.Pdf.Text.TextAbsorber(); pdf.Pages.Accept(absorber);
The PDF is actually generated by Aspose.CAD from a DWG, and seems to be a “bad” PDF. But it should not cause the problem in Aspose.PDF - Aspose.PDF.
Can you please advise if possible to fix, or how to detect before calling
Accept so we can avoid?