poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: Yet another "Out of memory!"
Date Thu, 23 Dec 2010 11:20:29 GMT
On Thu, 23 Dec 2010, Clemens wrote:
> Find the stackdump attached below. I (unfortunately) don't have the
> xlsx-file which "caused" the OOM. If I read the heap dump correctly the file
> was approx. 6M.

Try increasing your Java memory - processing ooxml files is fairly memory 

> The heap dump also reveals an instance of opc.ZipPackage, i.e. the 
> content was/is zipped (right?).

All ooxml files are a zip of xml files, so this is correct. You can 
slightly reduce the memory footprint by using the File constructor rather 
than the InputStream one


To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message