Out of Memory Error from large memory usage

Hi, I have encountered an out of memory error which is caused by Aspose PDF APIs from a memory analysis result.
I am using Aspose PDF 11.5 for conversion of files to PDF and watermarking. I also use other Apsose APIs for conversion of documents such as word, excel, powerpoint to PDF. Please help to advise on this error?

1.JPG (45.5 KB)
4.JPG (55.5 KB)
3.JPG (57.6 KB)
5.JPG (62.3 KB)
2.JPG (131.8 KB)

@bckoh_ncs_com_sg

Thank you for contacting support.

We are afraid that you are using quite old version of the API whereas it is always recommended to use latest version because it contains more features and bug fixes. Would you please try using Aspose.PDF for Java 19.1 at your side and in case issue still persists, please share your sample files and narrowed down code snippet so that we may try to reproduce and investigate it in our environment.