## Collection: - IE has `window.CollectGarbage` - If node is started with `--expose-gc` then you get a `global.gc` function. - Chrome can be started with a similar flag to get `window.gc` - Opera has `window.opera.collect()` ## Accounting: - Webkit browsers have `performance.memory.usedJSHeapSize`
Collection:
window.CollectGarbage--expose-gcthen you get aglobal.gcfunction.window.gcwindow.opera.collect()Accounting:
performance.memory.usedJSHeapSize