Some people might say I shouldn't keep hundreds of tabs open for weeks. But I'm an old guy, and by my standards my laptop is a freakin supercomputer, so in my mind it should be able to handle all the web pages I can manually throw at it.
[0]: https://chrome.google.com/webstore/detail/the-great-suspende...
It’s not always happy if Chrome crashes or I have to do a cold reboot, but mostly it keeps Chrome’s gluttony under control.
But it's a much harder problem to solve than many think. For example, if they start "suspending" my slack tab, or my email tab, and I begin missing messages I'm going to be quite upset...
Instead what they choose to do is not worry about memory until it you actually run out of it. I don't mind my applications taking up 90% of my memory if that keeps everything fast and I don't have to worry about keeping track and thinking about what I actually want to suspend and what I dont't.
If you really do mind, just run any of the plugins that implements your exact required behaviour (like the great suspender).
> I'm going to be quite upset...
You'll get over it, I promise.
Why the extreme majority would want that from their browser all the time baffles me. Just to see a lower number in a resource monitor window?
You say you sometimes have "hundreds" of tabs open, I've done this too, but my laptop doesn't have 20GB of RAM, but it just seems to work anyway.
What I ended up doing was: just stop looking at resource monitors.
I'm not. I open dozens of pages simultaneously routinely. 1 second here, one second there, it adds up.
Sure, it's not the end of the world, but those differences were why Chrome was better than Firefox.
How many times does that pretty-narrow situation happen to you in a day?
If you had such a memory-saving mechanism, boosted by prefetching the tabs adjacent to my current tab, it would barely cost me any seconds in an average week. Running low on memory is a big hassle taking a lot of seconds to deal with.
Google devs use 16-32 core machines, often with hundreds of gigabytes ram. Why would they bother optimizing?
Many of the folks who work in our monorepo have an additional Linux workstation - not sure what the specs are on it, or what the average split is between laptop and workstation surfing. I also haven't paid that much attention to see if the folks I know on the Chrome team have substantially different usage.
You obviously have no idea what you are talking about. Most devs at Google use MacBook Pros.. which cannot even be upgraded to hold hundreds of gigs of ram.
The required build tools and software for the internal engineering systems aren't usually available on a Mac so you'll need to have a Linux machine (physical or virtual) somewhere to remote into to do any dev work (again some teams are different but the bulk of engineers use the centralised Google infrastructure for source control, builds etc)
In addition to the desktop, every engineer gets a choice of laptop (Mac/windows/Chromebook) as well for email, meetings and cat videos.
Non-engineering just get a single laptop. Many many people now pick to use Chromebooks.
399 laptops with 4GB of RAM: https://www.pcgarage.ro/notebook-laptop/filtre/memorie-capac...
548 laptops with 8GB of RAM: https://www.pcgarage.ro/notebook-laptop/filtre/memorie-capac...
Less than 200 laptops, in total, with 16GB RAM or more. So probably less than 20% of the laptops on sale have that much memory, in 2018.
The "real" world is quite different to what us folks in IT see in our corner of the world.
* Literally every current MacBook except the 15" MBP
* iMacs unless you choose to upgrade the RAM
* My local PC retailers website has 34 models with 4GB of RAM, 84 with 8GB and 28 with 16GB. The cheapest 16gb laptop there is €1100. They also sell 3 Chromebooks and 1 windows 10 device with 2GB of RAM..
these are gaming, most powerful PCs people are using. 8gb is 44% of all users.
No, workstations and\or graphical stations are powerfull. Gaming rigs can be powerfull, but most of the time they are average or just above average.
Also - steam statistic will show you a great number of PCs that are being used only to play some indie games and\or Dota. 8gb is more than enough for that.
My understanding is that they have rMBP laptops and slightly beefier desktops.
> The standard machine has 32 GB. So I guess 0.32 hundreds
His comment was in response to Opera 12.x takes ~3-10MB per TAB (+the weight of the media used on the page).
Because they're also targeting Android devices.
https://randomascii.wordpress.com/2017/07/09/24-core-cpu-and...
My home machine has 4 i7 cores w/ HT, 32GB RAM & a 1TB SSD. Compiling stuff on that one is ok, although quite a bit slower.
Granted, I don't know anyone that uses that much and you would probably get asked by management for using a dev desktop that big but you can if you need to. I myself use just a i3.xlarge with 4 vCPU's, 30.5 or memory, Up to 10 Gigabit of EBS storage and 1 x 0.95 NVMe SSD.
Two reasons
1) Because, Chrome is ready to do something with that tab: browse the web. Do this, create a browser that doesn't use much memory when a tab is idle. Switch back to that tab and interact with the page or go to a new page. You will experience latency. It will feel slow. That's why the tab uses a lot of memory. It is staying ready at all times to be interacted with by the user and the network.
2) The real reason: Chrome either has no memory budget or the memory budget was set to 100 MB. The engineers decided that some amount of memory usage was acceptable and that's what you get. If a new budget was created, say 10 MB, then what you would see is some very clever engineering to overcome the problems in the first reason I gave. Chrome would be responsive at all times and use very little memory per tab, but at great engineering cost. It would be very difficult, but interesting work.