Aspose PDF .NET version 19.8 spend too much time to load PDF files


#1

Hi,

After upgrading Aspose PDF .NET to version 19.5, I have a big problem when loading some broken PDF files. In the previous version before I upgrading (Aspose PDF .NET 17.2), the broken file can be loaded under 5 seconds and throw exception, but with new version, it took more than 1 minute to load and throw exception. I tried with lastest version (19.8) but can’t resolve the issue.

Here is my sample code:

try
{
string input = @"D:\sample_file.pdf";
Document pdfDocument = new Document(inputFile);
}
catch(Exception e)
{
Console.WriteLine(e.Message);
}

Here is my sample: sample_file.zip (3.8 MB)

Please check this issue.

Thank you.


#2

@dunghnguyen

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-46814 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.