About This Tutorial

The tutorials in this section of the docs provide a gentle introduction to debugging memory issues using the Memray profiler. You’ll learn how to use basic features like generating flame graphs and integrating Memray with pytest test suites, as well as some more advanced features like inspecting the C, C++, or Rust frames on the call stack in addition to the Python frames.

There are 3 different exercises within this tutorial:

You should follow them in the order they’re presented here, as each builds on concepts introduced by the last.