- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Is there a limit to how large of a stack a function call can lead to?
So if I have a recursive function, is there a limit to how many times it can call itself starting from the very first call?
A recursive function of mine is crashing, but only when the size of the problem set gets high enough. I want to know if it's because it's blowing the stack.
For exact figures, when the first function call will lead to about 700 recursive calls, the function crashes at some point.
Is there a limit to how large of a stack a function call can lead to?
So if I have a recursive function, is there a limit to how many times it can call itself starting from the very first call?
A recursive function of mine is crashing, but only when the size of the problem set gets high enough. I want to know if it's because it's blowing the stack.
For exact figures, when the first function call will lead to about 700 recursive calls, the function crashes at some point.