Skip to content

PoiSpreadsheetBuilder.stream is not memory friendly #31

@erkieh

Description

@erkieh

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();

private final Map<Integer, AbstractRowDefinition> rows = new LinkedHashMap<Integer, AbstractRowDefinition>();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions