News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by jakozaur on Thursday November 19, 2026 @06:16AM (#50558651)
> Memory compression is not new. If you have a Windows or Mac device you are already using it.

Yes, macOS has had it enabled by default since OS X Mavericks 10.9, released in October 2013. I’m surprised some desktop Linux distributions still require manual configuration to enable it.

For browser tabs, though, I think a better solution is automatic tab closing, using something like the Tab Wrangler extension for Chrome. Collecting tabs comes naturally; we’re much worse at closing them.

Re:Do not buy RAM, compress by jve on Thursday November 19, 2026 @06:55AM (#50558977)
Wait, Edge on windows automatically puts tabs to sleep when they are unused (https://explore.microsoft.com/en-us/edge/features/sleeping-t...). I think edge weren't even the first one, thus being kinda surprised I see chrome needs extension for that?
Re:Do not buy RAM, compress by martheen on Friday November 20, 2026 @01:42AM (#50570976)
Tab Wrangler is more about closing the tabs entirely so they're not cluttering the UI. Apparently, Edge introduced Sleeping Tabs in early 2021, while Chrome only had it in late 2022. I suspect this kind of behavior is how Microsoft, for a while, boasted that their browser was using less battery before Chrome implemented it too.

Much earlier, before Covid, Chromium and Firefox already have automatic unloading (discarded entirely from RAM, the page will reload when you open it again) but it's only triggered on low RAM situation. I'm perfectly aware of that behavior because every time another app is hogging the RAM, I'd notice it from the constant reloading when I'm browsing.

Re:Do not buy RAM, compress by evenfrost on Thursday November 19, 2026 @07:01AM (#50559005)
For Chrome I recommend The Marvellous Suspender, which can auto-suspend unused tabs. Has been a life-saver for me for quite a while.
Re:Do not buy RAM, compress by jamesgeck0 on Thursday November 19, 2026 @10:43AM (#50561584)
[delayed]
Re:Do not buy RAM, compress by kasabali on Thursday November 19, 2026 @12:25PM (#50563062)
They provide more granular options on when and what to suspend compared to crude heuristics of the built in feature.
Re:Do not buy RAM, compress by aa-jv on Thursday November 19, 2026 @07:06AM (#50559047)
>I’m surprised some desktop Linux distributions still require manual configuration to enable it.

Its a user choice and should be a user-facing knob because there are times it is inappropriate for use, such as in safety-critical circumstances, certain realtime realities, and so on. It should probably be on by default for desktop Linux, but off by default for every other application a distribution may be targeting ...

Re:Do not buy RAM, compress by seanw444 on Thursday November 19, 2026 @04:55PM (#50567007)
Plus it makes an obvious time-for-space tradeoff, which isn't always desirable. That kind of thing is user preference.
Re:Do not buy RAM, compress by xnx on Thursday November 19, 2026 @09:59AM (#50560982)
Chrome has had a built-in tab-sleeping Memory Saver feature for 4 years: https://blog.google/products-and-platforms/products/chrome/n...
Re:Do not buy RAM, compress by benjiro29 on Thursday November 19, 2026 @11:27AM (#50562224)
"For browser tabs, though, I think a better solution is automatic tab closing" ... the better solution is to actually offload tabs. The issue with Chrome/Edge/... is not your tabs itself but the huge amount of memory loaded for GPU operations.

Do Shift+Esc and watch how large the GPU memory usage is. Often 2/3 to 50% of your actual tab usage.

Ironically, its not the closing of tabs that bothers me, but the fact that tab order changes, what slows my productivity/muscle memory down. And its the same reason for a lot of people why they keep tabs open.

I never understood why we do not have a basic snapshot / sleep that offloads a tabs memory on disk (and dumps the GPU memory), aka a ghost tab. And fast loads when you view the tab. Sure, there may be a small delay but it can save so much memory, while people can keep their tabs open/organized.

Some extensions try to mimic that but its often a crude solution because they do not have deeper access to the webview2 engine.

Re:Do not buy RAM, compress by hobo123 on Thursday November 19, 2026 @03:08PM (#50565608)
Brave on Mac (but not Linux IIRC) does this, you can choose how eagerly it will suspend background tabs, although this is somewhat erratic - I've seen it suspend a paused YT video that has been idle for maybe an hour (and not much memory pressure on the system), and then sometimes it takes its time.

In Firefox there's about:unloads where you can suspend tabs in I believe LRU order. I'd really like to see this as a default option (like: only keep N tabs active). Maybe there's an extension for that.