https://bz.apache.org/bugzilla/show_bug.cgi?id=66461
Bug ID: 66461
Summary: OOM occurs when the file is read.
Product: POI
Version: 5.2.2-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 38494
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38494&action=edit
Memory change for reading 2 MB files
FileInputStream fis = FileUtils.openInputStream(importFile);
Workbook workbook = WorkbookFactory.create(fis);
When an Excel file is read, the size of the importFile file is only 2 MB, but
the workbook occupies more than 300 MB memory. As a result, OOM occurs. Can you
optimize the file reading, which is similar to the SXSSFWorkbook and reads some
lines?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]