Question · NestJS course · Module 8: Caching and Performance

Detecting Memory Leaks

The most common cause of memory leaks in Node.js is:

Answer options

  • Too many files in the project
  • Using TypeScript instead of JavaScript
  • A large number of HTTP endpoints
  • Unreleased object references (event listeners, closures)

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