Are you running just a single node.js process or more than one?
Does the node.js process restart if it crashes?
Could you run in a debugger with a breakpoint inside a check for records being empty?
I'm not sure how a single node process was able to load 4 gbs worth of data into memory? I thought there was a hard limit of 1.5GB per process.
Are you running just a single node.js process or more than one?
Does the node.js process restart if it crashes?
Could you run in a debugger with a breakpoint inside a check for records being empty?