DZone
In our series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let’s discuss how to simulate a StackOverflow error. A StackOverflow error is a runtime error. In this post, we’ll simulate a StackOverflowError, diagnose it, and solve the problem.
Sample Program
Here is a sample program from the open source BuggyApp application, which would generate java.lang.StackOverflowError
.
Source: DZone