functiongcfunction gc(force?: boolean): void;Manually trigger the garbage collectorThis does two things:It tells JavaScriptCore to run the garbage collectorIt tells mimalloc to clean up fragmented memory. Mimalloc manages the heap not used in JavaScriptCore.@param forceSynchronously run the garbage collector
Manually trigger the garbage collectorThis does two things:It tells JavaScriptCore to run the garbage collectorIt tells mimalloc to clean up fragmented memory. Mimalloc manages the heap not used in JavaScriptCore.