https://bz.apache.org/bugzilla/show_bug.cgi?id=62872
Bug ID: 62872 Summary: Writing large files with 800k rows gives java.io.IOException: This archive contains unclosed entries. Product: POI Version: 4.0.0-FINAL Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: SXSSF Assignee: dev@poi.apache.org Reporter: andr...@manticore-projects.com Target Milestone: --- Created attachment 36225 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36225&action=edit Sampel for java.io.IOException: This archive contains unclosed entries The new 4.0 seems to have a problem when writing large XLSX files (e.g. >100k rows but less than 1 Mill. rows) using SXSSFWorkbook: java.io.IOException: This archive contains unclosed entries. at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:467) at org.apache.poi.xssf.streaming.SXSSFWorkbook.injectData(SXSSFWorkbook.java:406) at org.apache.poi.xssf.streaming.SXSSFWorkbook.write(SXSSFWorkbook.java:936) Please note, small files (e.g. less than 100k rows seem to work fine) and also everything works fine with 3.18 (same code, same data). The attached sample reproduces the error. -- 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