w1nk/node-odbc — Issue #16: Deal with large result sets
Author: wankdanker
Created: 2012-02-21 15:24:47+00:00
State: open

As reported by a user and verified by my own tests, when a query returns a large result set, the node process will eat up a lot of memory and possibly result in out of memory errors. This occurs because the resulting array of objects is built up in the binding and then passed to the callback when all the records have been returned.

We should find ways to mitigate this.