Create Image from PDF File in Java results in endless memory consumption, GC loop

I am using Aspose PDF for Java. I have tried latest version (21.1). I have a single page PDF which Aspose is unable to deal with. It just runs forever. I have tried giving it as much as 7g heap.
I am just trying to save the page as an image.


Can you please share your sample source PDF document along with the complete code snippet that you are using for conversion? We will test the scenario in our environment and address it accordingly.

The issues you have found earlier (filed as PDFJAVA-41255) have been fixed in Aspose.PDF for Java 23.5.