I have a standalone program which reads any excel file and depending on the sheet name and line number and column number it generates tab deliminited text file. When I feed a small file it works file but when I tries to feed a file of 3070kb it tell out of memory exception. I am using a properity file to specify my source and target file any help in this regard is highly appreciated Thanks Nirupam.
HSSF is a memory hog. This is known. You can either increase the heap size or for your application you may want to consider using the HSSF event model instead of reading in the entire workbook. See http://jakarta.apache.org/poi/faq.html#faq-N10011 also http://jakarta.apache.org/poi/hssf/how-to.html in the event model part Please upgrade to POI 2.0 though. Jason
It seems HSSF works with small mb of excel , but when 10 mb of file is under processing ,the request is hung. Can any body suggest any alternative for this. Will Jexcel solve the problem ? do any body have implemented?
It's hard to be sure if your problem has been fixed with the recent changes (see bug 15716). Please supply an example spreadsheet if you re-open this bugzilla.