5 ms·
It's the websites that use that RAM, not the browsers. (Often the ads on the websites.)
by astrange 7mo ago
It's the websites that use that RAM, not the browsers.
(Often the ads on the websites.)
- clumsysmurf 7mo agoI disagree, there is low-hanging fruit Firefox is leaving on the table. The main thing that comes to mind is tab unloading. They don't unload tabs automatically like chrome can. I was pleasantly surprised at the tab unloading settings under "memory saver" in ungoogled-chromium.
- Jap2-0 7mo agoFirefox has been unloading tabs for several months or so (at least on nightly).
- drooopy 7mo agoI believe that Firefox does it but not as frequently as Chrome does, but don't quote me on it. However, I am using a "tab suspender" addon on firefox to control how fast the unloading happens on tabs that are not active.
- clumsysmurf 7mo agoIndeed, I am using something similar "auto tab discard".
- Dunedan 7mo agoFirefox unloads tabs under memory pressure since more than 4 years: https://hacks.mozilla.org/2021/10/tab-unloading-in-firefox-93/ https://hacks.mozilla.org/2021/10/tab-unloading-in-firefox-9...
- clumsysmurf 7mo agoIt is a naive and suboptimal implementation, they even describe it in the link you posted "We have now approached the problem again by refining our low-memory detection and tab selection algorithm and narrowing the action to the case where we are sure we’re providing a user benefit: if the browser is about to crash." I would prefer FF to be more proactive in unloading tabs way before "its about to crash" to keep system level memory pressure lower. Firefox is the main memory hog on my M1 mac. Chrome can do this, there is no reason we should be stuck with "manual tab unload" and "unload when the browser is about to crash". I am using an extension, but that just reinforces the argument: they could be doing much more here.
- intelkishan 7mo agoWhich extension are you using in Firefox for memory unloading?
- stingraycharles 7mo agoAnd it’s the applications using web browsers as their UI kit that are the worst offenders in my experience.
- nickjj 7mo agoBrowsers still have a lot of memory usage on their own. I am running Arch Linux here. When I boot my machine into a full desktop environment it uses 1.1 GB of memory total, for everything. If I open Firefox, it in itself uses about 1.3 GB to have Firefox open with just HackerNews in 1 tab. I have no extensions except uBlock Origin.
- astrange 7mo agoRead about:memory then.
- szmarczak 7mo agoNo, it's the browsers. Check how much memory they commit and how much is actually resident. Firefox often commits 2x more memory than it is actually using.