What about VM’s? Does any/all of the above replies apply 1:1 to a Virtual Machine?
It’s never going to be an absolute “yes” hence the “almost always” in the title. But you will have to gauge on a case-by-case basis. But also know that most times swap space should indeed be enabled. Especially now with zram being enable or installed by default on some distros.
I very rarely exceed 1 GB of total memory use because I don’t like to keep a LOT of programs open at the same time, nor do I typically use a lot of Web browser tabs. Most of my systems have 8 GB memory so that’s only 1/8 memory used. For the rare times that number is exceeded, even if I go briefly over 2 GB, that’s still a fraction of what I have available EVEN on my oldest systems, where I never run up the number of processes; I’d rather have good performance with what I have; hence free memory is never a problem; I’ve done this on UNIX workstations and Linux desktop and laptop systems with consistent success since the nineties.