Stack overflow

Running out of room on the call stack, usually from recursion that nests deeper than the limit. The fix is a base case, a loop, or your own stack in memory.

Back to the glossary