You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nick Burch <ni...@torchbox.com> on 2008/03/11 12:09:16 UTC

Re: Out of memory with POI-HSSF, when writing Excel file

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

Nick