On a Mac. Both Chrome and Firefox invariably over a day of browsing accumulate oodles of memory and must be quit and reopened. Closing every window hilariously leaves this situation:<p>https://i.imgur.com/jZNoC0I.png<p>Zero windows, 3.5GB of memory used. Sitting around, it's not as if that memory gets cleaned up.<p>The frustrating part is trying to be "good" and not have hundreds of tabs open at any point doesn't seem to help -- the memory still piles up, eventually driving the responsiveness of the entire system into the shitter.
Not really, and here's why:<p>CNN loads something like 10 megabytes of resources when you open the front page. That's just code and images; all that code has to be parsed, JITed, built into the DOM, etc. and all of that requires exponential-ish (not scientific, but it feels right) more memory than the code itself. All those images have to be unzipped into pixel buffers and painted on screen.<p>Even assuming your browser could do all of these things right every time, look at how many goddamn standards the browser has to support; many of those features have to be loaded hot and ready to go to improve apparent performance, and those features require a nonzero memory overhead as well. So, in the end, in order for your browser to do anything useful it has to snort memory like a coke addict.
Doesn't sound to me like it's an inherent problem to the browsers, but rather that you'd just need to troubleshoot what's causing the RAM usage.<p>I have no idea about Chrome, but in Firefox you can get a detailed breakdown of what's using RAM by typing "about:memory" into the URL-bar and hitting enter. Then click on the "Measure"-button to the left.<p>There's also a few buttons on that page to enforce a memory clean-up, so maybe you can try those instead of restarting Firefox next time, if you can't find a solution.<p><i>Usually</i>, memory usage like that is caused by some faulty extension, so that's what you should look out for.<p>You could also try, if it doesn't happen anymore in a fresh profile: <a href="https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles" rel="nofollow">https://support.mozilla.org/en-US/kb/profile-manager-create-...</a>
On a Mac, as far as I know, Safari uses the smallest amount of memory. (It's the only browser I've used on OS X for a while.)<p>I'm surprised to see Firefox taking up 3.5GB of RAM. On my Windows 7 PC, it takes about 1GB after a day's browsing (without Flash). I usually have 80-100 tabs but only 15-20 are actually open. It's fine unless Flash goes ape and eats 2GB of RAM for no reason.<p>I also use Vivaldi and Opera on Windows 7. Both are based on Chromium and both consume more RAM than Firefox. Vivaldi does "lazy loading" so it only loads tabs when you click on them, whereas Opera still tries to load everything.)
Haven't experimented with it much but it claims to be more performant:<p><a href="https://brave.com/" rel="nofollow">https://brave.com/</a>