Call and retry last Allocation failed
Solution:
node --max--old-space-size=4096 <filename>
You need to tell node to overwrite default heap size in v8. To see all the available v8 flags run the following command:
node --v8-options
--Further details on chromium bug