Possible Duplicate:
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
My machine:
- 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.
The question is this. Are there any known issues with this version of Chrome, especially related to javascript intensive sites? Are there any settings that can be manipulated to mitigate these issues? Slightly out of scope for this site but, as a programmer is there anything I can do for my own web sites to prevent this memory creep?
Intuition tells me either Chrome is trying to cache data or there is some fault in it's handling of the javascript memory space but I just don't actually know. Any insight would be appreciated and if this is the wrong site we can move it.
