DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Node.js
A team notices their long-running Node.js process's memory usage climbs steadily over days and eventually crashes with an out-of-memory error, but CPU usage stays normal throughout. What's the appropriate first diagnostic step?
A
Run a CPU flame graph, since CPU issues are the most common cause
B
Take heap snapshots over time via --inspect and Chrome DevTools' Memory panel, then compare them to identify what's growing
C
Assume it's a V8 bug and file a report immediately
D
Restart the process on a fixed schedule as the permanent fix
Check Answer