Forcing garbage collection in Google Chrome
You can fetch code of Chrome Dev Tools, modify it so that ProfilerAgent.collectGarbage(); is called every now and then (it’s a code that is called when you click ‘Collect Garbage’ button on the Timeline panel) and run Chrome with your version of DevTools using –debug-devtools-frontend flag. However, this solution is quite extreme, try it only … Read more