Thank you for your reply. I am using oracle jdk1.8. But I do not want to increase heap memory. I want to find a solution in another way.
What does "chpaters" you mean? For example, does it mean to divide into 100 slides and save each file? I do not want to save as multiple files. I want to save all slides in one file. For example, I'm considering flushing slides to a file every 100 slides created. Is this possible using the poi library? On 2020/02/03 14:56:13, Rob Sargent <[email protected]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
