Open akidee opened 13 years ago
I had a recursive function that recursed 1000+ times and it threw out of memory error. I know you know it sa limitation (its basically the example you give in your todo) but just wanted to add my vote to limiting the stack trace :)
Using code with process.nextTick() loops (sometimes necessary) will produce a huge stacktrace and additionally lead to a memory leak.