Since no one really wants to sit through 600 slides, break the total up in “chapters” and see where that gets you?
How much memory does you machine have, which version of java are you using. > On Feb 3, 2020, at 7:15 AM, jaehoon jeong <[email protected]> wrote: > > Hello > > I'm trying to generate a pptx file using the poi library. > The XMLSlideShow class contains about 600 XSLFSlides. > Each XSLFSlide object uses about 3mb of memory. 1.8gb of memory is required > to create one pptx file. > > It uses out too much memory, causing an out of memory error. > And I can't increase the heap memory size. > > Is there a way to save slides in multiple times in one pptx file? > Is there a way to reduce memory usage? > > Thanks in advance. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
