JS0028: Out of stack space

The program has consumed all of the available stack space. This can occur when a recursive function never explicitly terminates.

To correct this error

  • Make sure that recursive functions explicitly terminate.

See Also

Concepts

Troubleshooting Your Scripts

Recursion

Other Resources

JScript Reference