Our server with 2GB of heap allocated is crashing when loading a presentation using new Presentation() of 50MB on the following line:
Presentation doc = new Presentation(<SourceFilePath>);
We would like to know two things:
- Is there a good way to gauge what size of a file can be converted with a particular amount of Heap space?
- Is there a way to optimize a pptx slide deck so that a large number of slides 50+ can be converted?
Here is the line that’s crashing the server:
Erroring Code.PNG (232.1 KB)