Out of stack space
One of the following conditions could have caused this error:
- You wrote a recursive function that never reaches its base case,
and therefore never terminates itself.
Rewrite the function so that it reaches its base case.
- You declared too many local variables in a procedure.
Remove a sufficient number of variable declarations in the procedure to free up stack space by rewriting it as several smaller procedures. If you are using fixed arrays, declare them as dynamic.