Technologies/Express/express.nodejs.gc_duration_seconds
ExpressExpressMetric

express.nodejs.gc_duration_seconds

GC duration by type
Dimensions:None
Available on:PrometheusPrometheus (1)
Interface Metrics (1)
PrometheusPrometheus
Garbage collection duration in seconds by GC type
Dimensions:None

Technical Annotations (10)

Configuration Parameters (1)
--max-semi-space-sizerecommended: larger than 4MB default
Increase to reduce GC frequency and use available RAM
CLI Commands (4)
node --prof app.jsdiagnostic
node --prof-process isolate-0xnnnnnnnnnnnn-v8.log > profile.txtdiagnostic
--trace-gcmonitoring
clinic doctordiagnostic
Technical References (5)
stop-the-worldconceptgarbage collectionconceptevent loopconceptV8componentGCconcept
Related Insights (4)
GC pauses cause stop-the-world event-loop stallswarning
Memory leaks cause garbage collection pauses and event loop latencywarning
GC percentage above 10% indicates memory allocation problemwarning
Small default semi-space heap size causes frequent GC pauseswarning