Free Support Forum - aspose.com

Question: Optimizing memory usage while converting various files to pdf

Hi,

I found that for Aspose.Cells there is an option for “Optimizing Memory Usage while Working with Big Files having Large Datasets”.
Is there any other options for Aspose products (Aspose.Words, Aspose.Pdf, Aspose.Imaging, or etc) by which we can decrease memory usage (even if this will reduce performance)?
Can we set some RAM limits in which Aspose will work?

Hi Ulrik,

In case of Aspose.Words, you can set SaveOptions.TempFolder property to optimize memory however it will work when saving to DOC/DOCX only. In case of Aspose.Pdf, you can use Document.FreeMemory method and for Aspose.Imaging, you can use Customizable Cache.

Please feel free to contact us in case you have further comments or questions.

Best Regards,

Thank you, I will try those recomendations.