Thanks Nick, will look into that. Cheers, - Chris
On 29 Jul 2013, at 15:27, Nick Burch wrote: > On Mon, 29 Jul 2013, Chris Bamford wrote: >> I am running into OOM issues when trying to handle powerpoint files >> containing large sound and image files. The problem occurs during the >> constructor phase as it appears to attempt to load all files into memory at >> once. > > HSLF is DOM-like. However, it should only need a few times the size of the > file to process it in, especially if you load it from a NPOIFSFileSystem > created from a File rather than an InputStream > > Are you able to bump up your heap size a lot so it loads, then use a profiler > to track down which bits are using all the memory? It's possible that one or > two large bits could be converted to lazy-loading or something like that, to > reduce the footprint > > Nick > > --------------------------------------------------------------------- > 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]
