configuration max old space size in Nodejs
Use node --max_old_space_size=5000 yourapp.js
to allow 5000 mb. Look in your eclipse launch settings for command-line parameters, where you can add this.
However, as the comments say, you should reconsider loading this into memory, and stream it to the client instead.