Флаги ноды, связанные с памятью и сборкой мусора

--stress-snapshot (disables sharing of the read-only heap for testing)
--sparkplug-on-heap (compile Sparkplug code directly on heap)
--trace-heap-broker-verbose (trace the heap broker verbosely (all reports))
--trace-heap-broker-memory (trace the heap broker memory (refs analysis and zone numbers))
--trace-heap-broker (trace the heap broker (reports on missing data only))
--wasm-write-protect-code-memory (write protect code memory on the wasm native heap with mprotect)
--max-heap-size (max size of the heap (in Mbytes) both max_semi_space_size and max_old_space_size take precedence. All three flags cannot be specified at the same time.)
--initial-heap-size (initial size of the heap (in Mbytes))
--trace-idle-notification-verbose (prints the heap state used by the idle notification)
--trace-duplicate-threshold-kb (print duplicate objects in the heap if their size is more than given threshold)
--scavenge-task-trigger (scavenge task trigger in percent of the current heap limit)
--detect-ineffective-gcs-near-heap-limit (trigger out-of-memory failure to avoid GC storm near heap limit)
--memory-reducer-for-small-heaps (use memory reducer for small heaps)
--heap-growing-percent (specifies heap growing factor as (1 + heap_growing_percent/100))
--stress-incremental-marking (force incremental marking for small heaps and run it more often)
--heap-profiler-trace-objects (Dump heap object allocations/movements/size_updates)
--heap-profiler-use-embedder-graph (Use the new EmbedderGraph API to get embedder nodes)
--heap-snapshot-string-limit (truncate strings to this length in the heap snapshot)
--heap-profiler-show-hidden-objects (use 'native' rather than 'hidden' node type in snapshot)
--sampling-heap-profiler-suppress-randomness (Use constant sample intervals to eliminate test flakiness)
--predictable-gc-schedule (Predictable garbage collection schedule. Fixes heap growing, idle, and memory reducing behavior.)

Как посмотреть все флаги ноды

node --v8-options

Или так

node --v8-options | grep someFilterWhatYouNeed

Как использовать grep