collectGarbage
collectGarbage():
boolean
Defined in: diagnostics/census.ts:81
Settle the JS heap before a census, if the host allows it. True when a
collection ran; without one the heap only climbs between samples, so the heap
counters downgrade themselves to info. Node needs --expose-gc.
Returns
Section titled “Returns”boolean