Aspose.PDF Textabsorber uses all ram and never ends

Hi together,

checking and extracting text from PDF reults using this PDF in memory leak.

This is my Code

private static bool PdfHasText(Aspose.Pdf.Document pdf)
{
//schnellste Methode zur Prüfung…
//vermeidet übermäßige Speichernutzung bei PDFs mit ausschlieslich Grafiken
var textAbsorber = new Aspose.Pdf.Text.TextAbsorber();
textAbsorber.ExtractionOptions.FormattingMode = Aspose.Pdf.Text.TextExtractionOptions.TextFormattingMode.MemorySaving;
foreach (var p in pdf.Pages)
{
try
{
textAbsorber.Visit(p);
if (textAbsorber.Text.Length > 0)
return true;
}
catch
{
return false;
}
}

return false;

}

This doc causes this behaviour (others are okay)
Averysurfacecleaner_D1900000040262_1_01.pdf (223.5 KB)

@Chris2Stein

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-59564

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.