Hacker News new | past | comments | ask | show | jobs | submit login

I have 53 tabs open on Firefox Android. They are a dump of what I'm reading or wish to read or what I want to come back to. Sometimes I send a tab to my desktop using the KDE Connect app. I have Gnome with GS Connect on my Linux laptop.

I've got 113 tabs on that machine (about:telemetry#scalars-tab_search=tab). I'm using 5 virtual desktop, 2 for me and one for each of my customers. One Firefox window per desktop (maybe my workaround for tab groups), one editor window per desktop, one terminal per desktop. The Slack app on the desktop I'm currently using. My password manager on all desktops. I switch using an hotkey, Windows + the first letter of the customer. No animations, no Activities, nothing. I was OK with Gnome 2.

It's nice to have 32 GB of RAM. 113






Does it need really that much RAM? RAM you don't use tend to get swapped out, and browsers themselves are pretty good working with a large amount of tabs opened, sometimes by unloading those that are currently unused. Note: swap is good!

I think what kill memory more than having dozens of windows on many desktops is self contained apps and VMs. For example, if you have a browser with 1000 tabs open, you will only have one instance of the engine, and the browser can manage the memory associated with tabs effectively. Now if you have 10 distinct browsers opened with all their dependencies, which can happen if you are running electron apps and you are actually using them, you are going to need a lot of RAM. Also if they all come with their dependencies instead of using what's on the system, you also multiply RAM usage.

Running many instances of the same apps running the same libraries tend to not cost that much, as they only need to be loaded once and are shared. There are a reason we call .so and .dll files shared libraries.

VMs are even worse, as they need a whole fixed chunk of memory that is mostly opaque to the host OS, meaning there isn't much it can do.


I checked. htop reports 22.7 GB. I do have one VM with 4 GB RAM. Having 32 GB I disabled swap. It's been maybe 8 years since the last time I had swap on. No problems at all.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: