https://bz.apache.org/bugzilla/show_bug.cgi?id=66458

            Bug ID: 66458
           Summary: OOM caused by file reading
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: 572312...@qq.com
  Target Milestone: ---

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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to