I have been getting 'FATAL ERROR: JS Allocation failed - process out of memory Aborted (core dumped)' error while running a nodejs process although I am using the command : node --max-old-space-size=8192 run.js
I am using v10.25.
The code simply downloads data(size=2gb) from aws s3 and there are some data manipulation associated.
Why would nodejs run out of memory? How to run this nodejs process without the fatal error? Any help is appreciated.
Aucun commentaire:
Enregistrer un commentaire