Why do web pages take so much RAM?
I have left an instance of Chrome open for the last 4 days with several app tabs pinned and have noticed three sites that have had quite extreme memory foot prints. This has not been happening for IE and Firefox. The memory foot print of those tabs and the rest of my apps caused my machine to come to a crawl and to get the low virtual memory warning from windows.
The offending tabs:
- Twitter - 117 Mb
- Programmers (Stack Exchange) - 167 Mb
- Facebook - 193 Mb
- Windows XP Professional SP3
- Intel dual core
- 4 Gb of RAM
- Chrome 15.0.874.121
I noticed the sites with the exploding memory footprints all have something in common. They are quite AJAX-y. An internal web app I have been AJAX-ifying which happened to have the fourth largest memory footprint out of the tabs.