In this series of simulating and troubleshooting performance problems in Kotlin, let’s discuss how to simulate StackOverflow
errors. StackOverflow
error is a runtime error, which is thrown when a thread’s stack size exceeds its allocated memory limit.
Video: To see the visual walk-through of this post, click below: