Summary: | add optional support in ZipArchiveFakeEntry to use a temp file | ||
---|---|---|---|
Product: | POI | Reporter: | PJ Fanning <fanningpj> |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.0.x-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
PJ Fanning
2021-09-18 13:54:17 UTC
IOException("ZIP entry size is too large or invalid") is the existing exception added implementation using r1893421 Using this will mean all zip entries with greater than 50Mb decompressed data will be put in a temp file instead of kept in memory. ZipInputStreamZipEntrySource.setThresholdBytesForTempFiles(50000000); This only affects users when they read files using Input Streams instead of reading directly from a java.io.File. ZipInputStreamZipEntrySource.setEncryptTempFiles(true); //also now supported |