I am running sails.js instance using sails 0.10.5. I stored a few objects in memory.
I frequently met the following error:
FATAL ERROR: invalid array length Allocation failed - process out of memory.
It seems that some one has met this and reported that this is introduced in node.js v0.11.15. As far as I can tell from here, it is still an open issue.
To avoid it, I installed node v0.11.14 and runs sails v0.10.5. However, this problem still happens.
Could someone tell me when this error happens in Node and points me to the direction that how I can avoid it?