Re:Chrome will aggressively throttle background tabs
by brandon272 on Tuesday January 24, 2017 @11:13AM
(#13472523)
Does Chrome only use RAM if it thinks it is available? (i.e. if it starts detecting that other process are running and eating up RAM, will it use less?)
[ Parent
| on HN ]
Re:Chrome will aggressively throttle background tabs
by Klathmon on Tuesday January 24, 2017 @12:01PM
(#13473125)
It does try to reduce what it can in low memory situations (less "pre" optimizations like prefetching, prerendering, even dns prefetches and stuff, V8 gets more eager to throw out "potentially unneeded" code, tabs get suspended and written to disk, heuristics can get shut off, etc...), but it can't change what the page does.
If a browser tab wants to store 300MB of data in RAM, or wants to throw a shitton of stuff at the DOM, Chrome needs to oblige.
Re:Chrome will aggressively throttle background tabs
by Bartweiss on Tuesday January 24, 2017 @11:19AM
(#13472605)
Nope - it's fairly happy to choke everything else or even crash (tabs or the browser) when RAM gets too scarce. It does seem to have some capability to restrict usage, but it's not thorough enough to avoid performance/crashing issues.
Re:Chrome will aggressively throttle background tabs
by 9248 on Tuesday January 24, 2017 @11:23AM
(#13472670)
Not in my experience.
With 4 GB ram, Chrome will happily give ~2GB to any tab that requests it in a couple of seconds, leaving me with an unresponsive Windows aggressively paging memory to disk, only to give whatever it finds... back to chrome