poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: Out of memory with POI-HSSF, when writing Excel file
Date Tue, 11 Mar 2008 11:09:16 GMT
On Tue, 11 Mar 2008, Jordi Moltó wrote:
> I got a java.lang.OutOfMemoryError exception when I am writing to an
> Excel file. I use poi 2.5.1.
> This happens after writing 7,800 lines. Checking to the computer memory,
> it seems however that I still have plenty of memory.

The more rows you write, the more memory poi will need to store it all. 
Try increasing your java heap size to give java more memory


View raw message