forked from MetadataConsulting/spreadsheet-builder
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Even creating files with PoiSpreadsheetBuilder.stream uses too much memory.
AbstractSheetDefinition holds all the added rows in a variable while the underlying Apache POI SXSSFWorkbook actually flushes them to a temp file to allow the creation of large files. PoiSpreadsheetBuilder should not hold everything in memory and have the option to just append rows regardless anything else.
private final Map<Integer, AbstractRowDefinition> rows = new LinkedHashMap();
Line 36 in 9b3fc7c
| private final Map<Integer, AbstractRowDefinition> rows = new LinkedHashMap<Integer, AbstractRowDefinition>(); |
Metadata
Metadata
Assignees
Labels
No labels