PROBLEM : Jakarta POI - writing large Excel files
807569May 27 2006 — edited May 27 2006I have a program that extracts a lot of data from about 1500 txt files. I want to save this data to an excel file.
Everything works fine, but when the amount of data gets too large, I get an java.lang.outOfMemoryError! It works with 200 files.
The problem is, everything is in the memory until all data has been collected, THEN it's written to a file.
Is there a method to partially write a excel file with POI, so I can handle larger amount of data or something like that? starting the program with -xmx or -xms won't help.
Thanks for any help!!