What I don't understand is why some people are so quick to upgrade their iMacs to crazy amounts like 40 GB, yet so many others skimp on their laptops with 8 GB.
It seems the common statements here are:
"8 GB is enough for your MacBook, because macOS is very good for memory management and uses memory compression."
vs.
"I just ordered my new iMac with 8 GB RAM, and have another 32 GB of RAM on order from Amazon, and I'm so excited!"
That just seems odd to me. If anything it usually makes the most sense to lean toward more RAM up front with the laptops because you can't add RAM later, whereas with the 27" iMacs you can upgrade at any time, and potentially for less money later.
As mentioned, I went with 16 GB on my MacBook, and 24 GB on my iMac. I'd say for most users who have 40 GB, it is way overkill for them. Yes, some users need 40 GB, but the vast, vast majority don't, yet a bazillion users in the iMac forum have 40 GB.
The reason this doesn't make sense is that (I believe) many people make irrational decisions about RAM.
"More RAM" is the age-old solution to all ills. It's a habit learned in the early days of MS DOS and Windows, but memory management has come a long way since the 1980s. RAM is (traditionally) one of the easiest and cheapest upgrades to make, so it's an easy solution to recommend. It's the equivalent of "Take two aspirin and call me in the morning." (In other words, if more RAM doesn't fix the problem, we'll have to dig deeper.)
The machine may truly be starved for RAM, and/or it may be host to issues that ought to be fixed in software (memory leaks, runaway processes, etc.). That's why a tool like Activity Monitor is so useful - you can see whether RAM is inadequate
and you can easily identify processes that are clearly misbehaving - pulling a high CPU %, and/or large amounts of RAM for no apparent reason. Knowledge is power. No need to prescribe aspirin on a guess.
Further, many people don't understand how RAM is managed. They assume that, if Memory Used is very close to Physical Memory, they don't have enough RAM. What they don't know is that the OS will fill as much RAM as they have, no matter how much they have, and will only start "cleaning house" (killing the longest-inactive processes) when it runs out of space.
Absolutely, if a computer has soldered or hard-to-upgrade RAM, it's best to buy the computer with amount of RAM you will reasonably need over the life of the computer. If RAM is easy to upgrade, you have the option of buying less than you'll need, and buying it at a lower price after the fact.
However, I think a fair number of RAM upgraders are deciding the amount they "need" on an emotional basis - "I can buy twice as much RAM for the same money, so screw Apple, I'll put in twice as much RAM and not give Apple the money." Then there are the "Tim the Toolman Taylor" types; whose egos demand "More power," whether they need it or not. When you combine those upgraders with the group that reflexively add more RAM as a cure-all... I think there's a huge amount of excess RAM going to waste out there.