October 2025
Intermediate to advanced
360 pages
10h 23m
English
In the previous part, we looked at problems tied to CPU and execution flow. But another major source of trouble lies in how an application uses memory. Memory problems can creep in slowly. They cause the app to slow down, pause unpredictably, or even crash. And they can appear suddenly in high-load scenarios.
This part is all about spotting these memory-related problems. We’ll start by profiling the heap to see which parts of the code are allocating objects and in what quantities. Then we’ll move on to heap dumps, which are snapshots of everything in memory. We’ll use them to find leaks, unexpected object retention, or bloated data structures. Finally, we’ll look at garbage collection logs to understand ...
Read now
Unlock full access