Re: out of memory error when creating pptx file

kiwiwings <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <[email protected]>
With the current POI version, you'll end up with all slides in memory - I
think it could be possible to provide a lazy-loading interface where the
pages and shapes are parsed on the fly. But currently/as stated, I think the
solution is mostly without POI.

If you want you can send me an example (maybe just a few of the 600 slides)
privately and I'll have a look.

> Is there a way to make two xml files into one pptx file without using a
> lot of memory?
You need to do a few changes:
- renaming the slides
- adding the slides to presentation.xml + .refs
- in case you reference media files, update their filename and the slide
.refs




--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.