How to investigate rising RSS and heap usage

Build Leaklane, memory growth diagnosis drills with RSS, smaps, heap profiles.

  • Difficulty Intermediate
  • Parts 10
  • Stack RSS, smaps, heap profiles

What you are learning

Leaklane is memory growth diagnosis drills. The teaching focus is Memory (RSS, smaps, heap profiles).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Leaklane GitHub repo →

Parts in order

Each chapter below is one checkpoint in this lab.