Share this 8 I've been playing around with NodeJS recently and got the following error when trying to read a very large text file: FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory The following solution allows you to stream a file instead of reading it all into memory:
Full article