Performance Issues
#5145
|
My Node.js app uses too much memory under load. How can I debug this? |
Answered by
naheel0
Mar 28, 2026
Replies: 1 comment
|
Start with:
Also check: Memory leaks (unclosed connections) |
0 replies
Answer selected by
jaseel0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Start with:
node --inspect(built-in debugger)Use tools like
clinic.jsorheapdumpMonitor event loop delays
Also check:
Memory leaks (unclosed connections)
Large objects in global scope