You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by kishore bandari <ki...@infosys.com> on 2009/11/05 07:38:00 UTC

Re: Any solution to eliminate out of memory error for large export to excel apart from increasing the heap size.

Hi Santosh,

Even I am also facing out of memory issue for large data. I am using binary
xls format. 
I have one possible solution you may try this. Instead of writing new code
for xlsx format, there is one option to convert existing binary xls  to xlsx
code. This option is help ful when existing code is implemented in xls
format.
You can get more inforamtion at
http://poi.apache.org/spreadsheet/converting.html

Regards
Kishore Kumar


Dronamraju, Santosh B (GE Indust, ConsInd) wrote:
> 
> Hi everyone,
> 
>  
> 
> For large excel exports, I get out of memory error. Is there any way to
> write directly to physical file record by record instead of using heap
> and then writing the whole data to file system at the end?
> 
>  
> 
> Because increasing heap size is not working even if I use 1024 MB. As in
> our application we have large and number of export to excel.
> 
>  
> 
> Thanks,
> 
> Santosh
> 
>  
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Any-solution-to-eliminate-out-of-memory-error-for-large-export-to-excel-apart-from-increasing-the-heap-size.-tp26022706p26208587.html
Sent from the POI - User mailing list archive at Nabble.com.


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