Aspose.Slides 502 bad gateway when merging pptxs

Good evening,

I’m getting a “502 bad gateway” error when trying to merge a pptx for a total of about 160 slides. I also tried to merge slides in smaller subsets (of 20 slides) and then re-merging results one-by-one, but when meging the third 20-slides file I obtained this error:

{“error”:{“code”:“error”,“message”:“Exception of type ‘System.OutOfMemoryException’ was thrown.”,“description”:“Operation Failed.”,“innerError”:{“requestId”:null,“date”:“2020-02-18T15:29:32.1429547Z”}}}

Can you please check and/or suggest a better way to merge the full pptx?
Many thanks.

@marconoefi

Thanks for your inquiry. We will appreciate it if you please share your sample source documents here as a zip file to reproduce the issue at our end. It will help us to investigate and resolve the issue.