Monitor your web page’s total memory usage with performance.measureMemory()
“Learn how to measure memory usage of your web page in production to detect regressions. Browsers manage the memory of web pages automatically. Whenever a web page creates an object, the browser allocates a chunk of memory “under the hood” to store the object.”
read »