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

Free Support Forum - aspose.com

Reduce the size of pptx to avoid out of heap space memory issue while converting PPTX to PDF

Hi,


While conversion of pptx file to pdf I am getting error java.lang.OutOfMemoryError:
Java heap space.
I can’t increase java heap space as there is memory constraint due to shared environment.

I want to reduce the size of pptx file before converting it to pdf to avoid this error.

I tried to extract images from PPTX and replace it with compressed images but couldn’t succeed.

Can you help to reduce the size of pptx file?

Hi,

Thanks for your interest in Aspose.Slides.

I have observed your comments and like to know how you have extracted the images and replaced them with compressed images. Can you please try the same thing in PowerPoint and see if things work. I request you to please share the source presentation, generated output and working sample code used on your end. We will investigate the issue in light of information shared by you.

Many Thanks,