OS
Operations related with the operating system can be used to manage system-level tasks, such as forcing garbage collection in different processes. This methods are accessible using the OS module.
forceMainProcessGC()
Forces garbage collection in the main process.
forceMainProcessGC(): null;
forceRendererProcessGC()
Forces garbage collection in the renderer process.
forceRendererProcessGC(): null;