skip to content
Alvin Lucillo

Fatal stack overflow

/ 1 min read

If you encounter this error, it could be that your program performs infinite recursion that adds a new layer to the stack until it hits the goroutine memory limit. This is not recoverable, and Go will print a stack trace and exit.

runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow