Skip to content

Limiting Memory Usage #35

@FlipperPA

Description

@FlipperPA

Currently, csv2xlsx parallelizes and grabs as much memory as it can. It would be great if we could restrict how much memory it will use, maximum, with a parameter. Something like --max-memory 16GB to limit to 16 gigabytes.

We use csv2xlsx to sometimes convert CSVs with a thousand columns and hundreds of thousands of rows, and it will take all 256 GB of RAM on the server. While we could resource restrict at the OS level, it would be really nice to have a command-line option. I looked through the source and saw the dependency on github.com/tealeg/xlsx/v3 v3.3.12, and Go isn't my forte, so I'm not sure how feasible this might be.

Thanks for your efforts on this fantastic tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions