4 ms·
http://vimcolorschemetest.googlecode.com/svn/html/index-c.html http://vimcolorschemetest.googlecode.com/svn/html/index-c.ht... - the page referenced in the arti
by blinkingled 11y ago
http://vimcolorschemetest.googlecode.com/svn/html/index-c.html http://vimcolorschemetest.googlecode.com/svn/html/index-c.ht... - the page referenced in the article that shows extreme AdBlock overhead - Chrome just chokes on it for a long time - the tab uses 1.7GB of memory while it is still loading!
With uBlock and FF 38 - the page load completes faster and only about 850MB memory is used in total!
Chrome people should really be doing something about the memory and battery usage on the desktop. It's getting ridiculous.
Also I wonder how things such as OS X's Compressed Memory feature affect this in real life. I mean without the fix, the OS will notice the duplicated, in-memory style sheets and compress them to reduce memory usage and you should not see much of an improvement due to this patch on platforms like OS X that implement memory compression.
(Looking at activity monitor with FF loading the vim color scheme test shows 0MB Compressed Mem for FF - not sure if FF opts out or if there simply isn't enough memory pressure for the OS to start compressing FF's mem.)
- taspeotis 11y ago> Chrome just chokes on it for a long time - the tab uses 1.7GB of memory while it is still loading! Chrome 43.0.2357.130 m (64-bit) on Windows 8.1 here, takes 787.6 MB for me (with uBlock). If I open an Incognito window (i.e. no extensions) it takes 109 MB. Not sure where this discrepancy is coming from. Chrome's responsive the whole time. http://i.imgur.com/QFG2ryq.png http://i.imgur.com/QFG2ryq.png
- blinkingled 11y agoI was testing on OS X - On Windows 8.1 the page kept loading for a while and then the tab crashed - it used 767Mb before crashing. Probably the extensions you are running are different from me as well - I am running uBlock, Privacy Badger, Lastpass and ChromeCast. Edit: The crash on Windows 8.1 is reproducible for me. Turns out I'm running a 32-bit build on Windows. But that just very likely means the crash is due to it exceeding the 32-bit process address space limit. I've seen it reach 900+Mb but since the reporting is not real time in chrome://memory it's hard to know at what point it crashes.
- taspeotis 11y agoI have no idea how I get as low as 109 MB on the page. As for extensions: HackerNew, uBlock (not Origin), Wait! Google Sent Me and Wunderlist New Tab.
- blinkingled 11y agoIn any case since extensions are separate processes I am more perplexed as to how you are getting that low memory usage for the VIM tab. Make sure you wait for the page to load - it takes some time for me to start reaching 900Mb levels and the tab is still loading at that point.
- taspeotis 11y agoI waited the first time. If I scroll to the bottom of the page I get 98,232 KB. Highest I can get now. Task Manager says close to the same thing, and my computer isn't under memory pressure so I don't expect Windows to have paged out a bunch of Chrome's memory. http://i.imgur.com/EhHI1Pr.png http://i.imgur.com/EhHI1Pr.png
- blinkingled 11y agohttp://imgur.com/im0YFhw http://imgur.com/im0YFhw - 1.6GB on 64-bit build. I get 107Mb in an incognito tab as well. That has got to be a bug - more than 10 times mem usage on regular tab!
- deleted 11y ago[deleted]
- blinkingled 11y ago1.6GB on 64-Bit Chrome on Windows as well - http://imgur.com/im0YFhw http://imgur.com/im0YFhw .
- bitmapbrother 11y agoThe discrepancy is courtesy of the ad blocker extension.
- blinkingled 11y agoChrome extensions run in their own process which means the memory usage is reported separately for each tab and extension. IOW the memory usage for the tab is that of Chrome 100%.
- bitmapbrother 11y agoYes, they do run in their own process. But, so what? Did you expect the ram consumed by the extension to balloon? I didn't. It's clearly evident that these ad block extensions are inflating the memory used by the tab. So, again, why is Chrome to blame for these inefficient extensions?
- taspeotis 11y agoI believe (most) ad blockers work by changing the DOM of each tab. They inject their own CSS to hide elements. The the stylesheets will be processed in the tab's process, not the extension's. This VIM page would be quite heavy on elements that need styling by CSS.
- bitmapbrother 11y agoSo you're blaming Chrome because your Ad Block Plus extension crippled and hosed it? Why don't you try running the same test with Ad Block plus disabled and share your results? That page renders in 112MB and scrolls blisteringly fast in Chrome 45 Dev. With Ad Block Plus installed it chokes it. People need to stop blaming Chrome and start looking at the havoc their extensions are creating. Whenever I hear a Chrome performance or memory story it invariably always ties back to their extensions. It's clear why Apple controls and limits modifications to their software. It's to prevent situations like these from erupting and giving their product a black eye because some inefficient extension is in over its head.
- blinkingled 11y agoWell, for one I don't have Adblock installed. For two, chrome extensions run in their own process which means the memory usage is reported separately for each tab and extension. So the hosing is completely Chrome's fault - 32-bit version just crashes with the tab in question taking maximum memory.
- bitmapbrother 11y agoOk, let's recap: 1) Chrome with no ad blocking extension renders the page in about 112MB with fast scrolling. 2) Chrome with ad blocking extension installed inflates memory. Seems pretty clear to me where the problem lies. Also, the issue isn't about these extensions running in their own process as this is simply to prevent a bad extension from taking down the tab. It's about what these extensions are doing to the tab process.
- detaro 11y agoread the comment again, especially the first sentence.
- bitmapbrother 11y agoYou must have missed the part where he said he's running uBlock. Last time I checked, it was still an ad blocking extension.