Monitoring Browser Memory Usage
Browsers manage the memory used by web pages automatically without user interaction. Sematext Experience allows monitoring the memory usage for your web pages to identify issues, regressions, and give you an estimate of the memory needed by your applications.
There are many use cases where having insight into the browser's memory usage can be crucial to identify and fix problems as soon as possible. Those include:
- Identifying memory leaks in Single Page Applications
- A/B testing of memory usage between different application versions
- Measuring memory impact of new features or optimizations done to the application code
- Statistical analysis of memory usage across the web application
Sematext Experience Browser SDK uses the Memory Measure API to measure browser memory usage when your web application is loaded and continues to measure the memory throughout the user session. This allows for memory measurements across pages and sessions. It even shows the per-session memory usage that individual users of your applications are experiencing.
At the moment, the only web browser that supports memory usage measurements is Chrome, but the feature is currently in Origin Trials. To collect memory usage from Chrome you can register your website for Origin Trials. To enable memory usage measurements in your Chrome browser turn on the #experimental-web-platform-features flag.
Note: The memory usage measurement support is considered beta in Sematext Experience. We will release it to all users once the Chrome origin trials end which is scheduled to happen in January 2011. If you would like to be invited as a beta tester please let us know using our live chat or send a mail to email@example.com.