Search

GC easy – Universal Java GC Log Analyser

Tag

GC traces

How to analyze Node.js Garbage Collection traces?

Node.js applications may suffer from unresponsiveness due to long Garbage Collection pauses or memory leaks. Enabling GC traces with '--trace-gc' helps monitor memory usage and potential bottlenecks. This article details on how certain tools can provide graphs and metrics for easy interpretation, aiding in optimizing performance and memory management.

How to capture Node.js Garbage Collection traces?

Garbage collection (GC) plays a crucial role in managing memory in Node.js. Efficient GC is essential for optimal performance, making it vital to trace GC events. This article covers the three main methods for tracing GC events: utilizing the '--trace-gc' flag, leveraging the v8 module for dynamic tracing, and utilizing the perf_hooks module.

Powered by WordPress.com.

Up ↑