Skip to content

many async methods not usable for items > 5000 #110

@langmi

Description

@langmi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions