CodeZettaInterview Hub

Node.js · Performance · Senior · Concept

What Node flags/metrics help GC tuning conversations?

Short Interview Answer

heapUsed/heapTotal, gc events (perf_hooks), and understanding young/old space — tune only with evidence.

Detailed Explanation

Usually fix allocations first. Increasing heap can mask leaks and raise pause times.

Did you know this answer?