Aspose PDF Java significant performance issue on save()

Have been using asposePDF 24.4 and also tried 24.8 to perform batch operations like adding minor metadata tags. Typically save operations run in a 500ms. Recently some property of our (vendor supplied) PDFs that appear completely normal, cause the save() method to take 50 seconds or more.
Even worse, whilst the server CPU is unaffected on asposePDF 24.4, when using 24.8, the CPU caps out at 100%, halting any other operations on the server.

The issue occurs simply on opening the PDF and saving, even without adding any metadata. Once it has been saved by Aspose, then future save() calls are normal again.
The call to reproduce this simply opens the PDF and calls save() saving the existing file.

Happy to share a PDF that causes this. Don’t see a way to upload though.

@itreg

Please try the upload button in post editor as shown in the screenshot.
image.png (4.8 KB)

Also, please try using 24.9 version of the API as well before sharing the sample document.