I'm having a similar problem but on the reading side with large XSSF (*.xlsx) workbooks.
This runs out of memory on a 50 megabyte excel file I'm trying to read (uses over 1.7 gigs before running out of memory):
PS - I'm also unable to find the XSSF package when I browse the on-line web interface for SOURCE code. Am I looking in the wrong online codebase?
This runs out of memory on a 50 megabyte excel file I'm trying to read (uses over 1.7 gigs before running out of memory):
FileStream fs = new FileStream("foo.xlsx", FileMode.Open);
NPOI.SS.UserModel.IWorkbook wb = new NPOI.XSSF.UserModel.XSSFWorkbook(fs);
Note: this same file opens in Excel with only 150 megs of memory getting used.PS - I'm also unable to find the XSSF package when I browse the on-line web interface for SOURCE code. Am I looking in the wrong online codebase?