We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Preferred JVM Settings

Hi,

I am using slides Java component. Are there any preferred JVM Settings to run the program. My use of slides jar is to convert a pptx document to pdf. I often get out of memory: Heap Space error with 8 MB files too. Can you please look into this and let me know the setting if you have as preferred.

I am not sure if there is a memory leak or if the program genuinely is memory hungry.


Thanks,
Shravan

Hi Shravan,

Thanks for your interest in Aspose.Slides.

I like to share that there are no specific JVM settings for Aspose.Slides. The OutOfMemory exception arise when your heap size is smaller then what is required. The heap size requirement varies from presentation to presentation. The presentation is needed to be loaded in Document Object Model (DOM) of Aspose.Slides and it depends on size of presentation, number of slides and contents inside the presentation. Additionally, when you export presentation to PDF it is also loaded in memory till the time it is saved in PDF. So, you need to increase java heap size on your end to avoid the OutOfMemory exception issue.

Many Thanks,