Workbook.Write cause OutOfMemory exception while there are 100,000 rows in the Excel file
carl150 opened this issue · comments
NPOI Version
Hello. i get a outofmemoryException when i try yo write let's say 100000 rows with the write function from IWorkbook. is there a way to bypass this problem without creating tow files or another sheet ?
this.workbook.Write(fileStream);
File Type
- [ X] XLSX
- XLS
- DOCX
- XLSM
- OTHER
Upload the Excel File
Please attach your original Excel File to help us reproduce the issue
Reproduce Steps
Issue Description
Depending on what kind of data you're writing, SXSSF may yield better results for you.
ok i will try. i am writing text, numbers, date and with colors sometimes. but thanks you i will try to look into it.