How many are too many nested function calls?

Average: 3 (1 vote)
Reputation: 4
Asked 4 years ago.
683 View(s)
How many are too many nested function calls?

The exception that is thrown when the execution stack overflows because it contains too many nested method calls.

Too many is pretty vague here. How do I know when too many is really too many? Thousands of function calls? Millions? I assume that it must be related in some way to the amount of memory in the computer but is it possible to come up with a roughly accurate order of magnitude?

I'm concerned about this because I am developping a project which involves a heavy use of recursive structures and recursive function calls. I don't want the application to fail when I start using it for more than just small tests.

Delivery Time: 2 hours.
Question Category: Programming.

Place Your Bid

Place Bid
Howard Stern
Reputation: 163
Deliver in: 3 days
Anam Kamil
Reputation: 199
Deliver in: 2 hours

Tutor Answer

You must be login to view answer.