Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Heap out of memory for a non-formatted, 100k row file #338

Open
bfredo123 opened this issue Apr 8, 2021 · 0 comments
Open

Heap out of memory for a non-formatted, 100k row file #338

bfredo123 opened this issue Apr 8, 2021 · 0 comments

Comments

@bfredo123
Copy link

Describe the bug
I get a heap out of memory error when executing the code below, producing and saving a basic 100k-row file. It happens when calling the write method.

To Reproduce
https://gist.github.com/bfredo123/14a2b4f47bfcbdc83afb4748623b0fb3

Expected behavior
It should just save the file succesfully.

Environment (please complete the following information):

  • OS: MacOS 11.0.1
  • Node Version: 10.16.3
  • excel4node Version: 1.7.2

Additional context
I can make it work with setting max-old-space-size to 4GB, but it has to run on a 2GB machine, so this is not a good option for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant