tlrobinson / long-stack-traces

Long stacktraces for V8 implemented in user-land JavaScript. [UNMAINTAINED] Use https://github.com/mattinsler/longjohn instead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to limit stacktrace

akidee opened this issue · comments

Using code with process.nextTick() loops (sometimes necessary) will produce a huge stacktrace and additionally lead to a memory leak.

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 :)