tlrobinson / long-stack-traces

Long stacktraces for V8 implemented in user-land JavaScript. [UNMAINTAINED] Use https://github.com/mattinsler/longjohn instead
277 stars 15 forks source link

Add option to limit stacktrace #7

Open akidee opened 13 years ago

akidee commented 13 years ago

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

aarsilv commented 12 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 :)