CloudBeesRole: Software EngineerSeptember 2026
Interview question
A client calls a REST API served by a JVM. The last server log says that the request entered the server and records the method and parameters, but the client stops making progress and the server appears stuck. How would you diagnose the problem and determine what the JVM is doing?
Follow-up questions
- Why would you repeat your diagnostic measurements at different times? What patterns would you look for, and how would the findings guide the next step?
- Suppose instead the server crashes five or ten seconds after the request and logs an OutOfMemoryError involving heap memory, with a dump available. How would you work from that crash to understanding and fixing the cause?
- Give an example of a tool you could use to inspect the memory problem.