Aspose.Total Java API out of memory error

We have been using Aspose.Total Java API with the licensed version and getting following error always. Please suggest.

Error :
Java.lang.OutOfMemory:Java Heapspace@aspose.util.covertImageToPDF

Thank you in advance.

@mahesh522,
Well, please note that the out of memory error depends on the machine memory, performance, and the file complexity and size which you are processing with Aspose for Java APIs. You can adjust the lower and higher limit of JVM heap size for the memory according to the environment. However, if this does not help, then kindly send us the complete details, including input documents, code snippet and some other handy information which could help us to replicate the same error in our environment.

Best Regards,
Imran Rafique