caolan/async — Issue #110: many async methods not usable for items > 5000
Author: langmi
Created: 2012-03-02 16:17:00+00:00
State: open

async version: 0.1.18
machine: i7, 16GB Ram, OSX

i try to use the async library for queueing async processing of around 10000 items and so far i am always getting the

RangeError: Maximum call stack size exceeded

Exception

to count my poor javascript skills out i just used the example at https://github.com/caolan/async#queue

and enhanced it with

var asyncTest = function() {
for(var i = 0; i < 10000; i++) {
q.push({"counter": i}, function (err) {
console.log('finished processing:' + i);
});
}
};

asyncTest();

it will give the infamous exception