Hacker News new | ask | show | jobs
by ranger_danger 775 days ago
> suspend

Right, but the article says nothing about suspending and seems to strongly suggest that tabs take "no ram at all" by default, which is just plain false, unless I'm misunderstanding something. I don't even see a way to suspend tabs without a separate extension.

3 comments

There is also an unfair comparison made in the article.

> A quick PCMag test shows that 10 Chrome tabs on a Windows 11 PC with 32GB of RAM and 2TB of NVMe SSD storage take up over 2,000MB, or 12.5% of PC memory, so there's still room for improvement (Hazel's massive Firefox session file is just 70MB).

Taking up nearly 2GB of RAM for 10 tabs sucks, but they seem to be comparing the size of the session on disk to the resident size of the loaded browser in memory, of course the memory footprint is going to blow it away.

well i have 4600 tabs, 13 windows, 18 tab groups and 130 firefox processes. htop shows me that while each browser process has about 3GB of virtual memory, all of them barely register any real memory use. so as far as i can tell, tabs do not use any memory.
Ok but those tabs would have to be suspended for them to not use "any" memory.
right, most tabs are suspended. i also use an extension that automatically suspends inactive tabs, so i don't have more than 20 or 30 tabs that are not suspended.
Close Firefox then restore your session. Until you switch to a tab, it stays unloaded and consumes nearly no resources. The tab does stay resident in memory until you restart again, or otherwise suspend it.