Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which tool would you use to find a memory leak in a Node.js process?

  1. A Comparing heap snapshots taken before and after load
  2. B Reading the access log
  3. C Increasing the heap size limit
  4. D Restarting the process periodically
Answer

Comparing heap snapshots taken before and after load

Comparing snapshots shows which objects were allocated and never freed. Common causes are unbounded caches and listeners that are never removed.

All NodeJS MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as