Skip to content

Instantly share code, notes, and snippets.

@marutypes
Created October 29, 2018 14:38
Show Gist options
  • Save marutypes/2b541f1dd07c10db58af40833cdc5153 to your computer and use it in GitHub Desktop.
Save marutypes/2b541f1dd07c10db58af40833cdc5153 to your computer and use it in GitHub Desktop.
node garbage collection tracing flags
--log_gc (Log heap samples on garbage collection for the hp2ps tool.)
type: bool default: false
--expose_gc (expose gc extension)
type: bool default: false
--trace_gc (print one trace line following each garbage collection)
type: bool default: false
--trace_gc_nvp (print one detailed trace line in name=value format after each garbage collection)
type: bool default: false
--trace_gc_ignore_scavenger (do not print trace line after scavenger collection)
type: bool default: false
--print_cumulative_gc_stat (print cumulative GC statistics in name=value format on exit)
type: bool default: false
--trace_gc_verbose (print more details following each garbage collection)
type: bool default: false
--trace_fragmentation (report fragmentation for old pointer and data pages)
type: bool default: false
--trace_external_memory (print amount of external allocated memory after each time it is adjusted.)
type: bool default: false
--trace_incremental_marking (trace progress of the incremental marking)
type: bool default: false
--track_gc_object_stats (track object counts and memory usage)
type: bool default: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment