Comment by transcriptase
16 hours ago
I wonder if a good public flogging would compel chrome and web devs to have 80 tabs take up far less than a gigabyte of memory like they should in a world where optimization wasn’t wholesale abandoned under the assumption that hardware improvements would compensate for their laziness and incompetence.
The high memory usage is due to the optimization. Responsiveness, robustness and performance was improved by making each tab independent processes. And that's good. Nobody needs 80 tabs, that's what bookmarks are for.
"that's what bookmarks are for"
And if you are lucky, the content will still be there the next time.
Is there a straightforward way to have one-process-per tab in browsers without using significant amounts (O(n_tabs)) of memory?
There is no justification for that IMHO. The program text only needs to be in memory once. However, each process probably has its own instance of the JS engine, together with the website's heap data and the JIT-compiled code objects. That adds up.
I'd very much like a crash in one tab not to kill other tabs. And having per tab sandboxing would be more secure, no?
1 reply →
They do this stuff.
I’m honestly amazed OP is managing 30 GB regularly. I’d wager it’s a tall tale. It’s sort of perfect troll bait on a forum because you end up with people sounding nuts, defending web browser ram usage, against the common position, that browsers are RAM hogs.