You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's the V8 engine running out of memory. By default, node uses a max of 1 or 2 GB of memory (depending on version).
The solution is to just give node more memory. Try running your script with the --max-old-space-size flag like this (change 8192, which means 8GB, to whatever you find suitable): node --max-old-space-size=8192 your_script.js
I call �function "substitute" with data arrays of more than 10K rows, it crash as Javascript out of memory
template.substitute(sheetNumber, array_of_data);
Is there any way to avoid this?
Thanks.
The text was updated successfully, but these errors were encountered: