Answer the question
In order to leave comments, you need to log in
How to write huge amount of data to xls file?
Good day. There is a huge array of data - 1 million objects, which are obtained by sampling from the database. Now all this needs to be written into an excel file.
First I took the excel4node npm package. For small datasets, it is great (like many others, by the way). Support for styles, formatting, cell reversal, etc. But as soon as I tried to write these same 1 million lines, the node crashed with:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question