Put in order · NestJS course · Module 8: Caching and Performance

Memory Leak Debugging Process

Arrange the memory leak diagnostic steps:

Items to put in order

  • Identify unreleased references and event listeners
  • Take a heap dump and analyze object retention
  • Monitor growing memory usage (process.memoryUsage)
  • Fix the leak and verify memory stability

You can check the correct answer by solving this task in the CodeWorlds game.