d3/d3-queue

Unhandled rejection RangeError: Maximum call stack size exceeded

GeoffreyPlitt opened this issue · 1 comments

I'm getting the following error. My jobs are all calling done() correctly.

Feb 18 16:22:02 analytics-migration app/analytics_migration.1: Unhandled rejection RangeError: Maximum call stack size exceeded
Feb 18 16:22:02 analytics-migration app/analytics_migration.1: at notify (/app/node_modules/queue-async/queue.js:47:18)

The problem may be the scale I'm using. My queue size is 180,000 items, and I'm using 256-way concurrency. Is that likely to cause stack overflows?

Hmm. Works fine for me?

http://bl.ocks.org/mbostock/13bf0d94685cfd203f9b

Sorry for the delayed (and probably unhelpful) response. Without looking at the code, it’s tough to say. But Queue has some logic to avoid deep recursion when many tasks complete simultaneously, so in theory this stack overflow should not be Queue’s fault.