Tag: debugging
All the articles with the tag "debugging".
Node.js Diagnostic Tools — Heap Snapshots, Flame Graphs, and DoctorJS in 2026
Posted on:January 12, 2026 at 10:00 AMThe complete Node.js diagnostics toolkit for 2026: V8 heap snapshots, CPU flame graphs, Clinic.js Doctor and Flame, OpenTelemetry integration, and the new --prof-process workflow. Covers what each tool finds and when to use it.
Node.js Memory Leaks — How I Found and Fixed a 2GB Leak in Production
Posted on:June 16, 2025 at 10:00 AMA real case study of a Node.js API that grew to 2GB RSS and crashed weekly. Covers heap snapshot analysis, the --expose-gc flag, closure leaks, EventEmitter leaks, and the three-snapshot technique for finding what's growing.