Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Oneechan69

macrumors 6502
Original poster
Mar 29, 2022
278
32
US
I got a good deal with this MBP I bought a few years ago, but wish I paid (considerably) more for 32GB of RAM than 16. 16GB + SWAP is enough most of the time but eventually I have too many browser tabs and or apps open, so I made a workflow for that: This Alfred workflow for killing apps by writing kill <appname>, and two apps in the menu bar: Stats for showing a memory pressure graph like in Activity monitor, and Swiftbar to show the swap size.
 
  • Angry
Reactions: jagooch
With some exceptions, this kind of memory management is no longer necessary. There's nothing wrong with using swap. On current day Macs, swap is very efficient. The penalty for dipping into swap space is so minuscule that you're unlikely to know the difference.

I had a 16GB M1 Pro for 3 years and never bothered to manage my memory despite running multiple VMs, RAW photography workflows, tons of developer packages, and all the usual productivity tools.
 
Last edited:
I'm one of the few Apple Silicon Mac users in America (probably the only one in this forum) who DISABLES virtual memory disk swapping. On my Macs, apps have to run in "available memory" -- no writing to disk at all.

So... I've learned to "manage my apps" accordingly.
It's just "normal" for me to quit apps I won't be using for a while.
No problems.
 
I'm one of the few Apple Silicon Mac users in America (probably the only one in this forum) who DISABLES virtual memory disk swapping. On my Macs, apps have to run in "available memory" -- no writing to disk at all.

So... I've learned to "manage my apps" accordingly.
It's just "normal" for me to quit apps I won't be using for a while.
No problems.
Hello,

How do you do this?
Disable virtual memory use?
Thanks.
 
Hello,

How do you do this?
Disable virtual memory use?
Thanks.

Don't do it. There is no reason to disable virtual memory. Your SSD isn't going to die if you use swap. Your computer won't run noticeably faster unless you're still using a spinning platter drive.

If you have to ask how to do this, disabling the way your your computer is supposed to run is a bad idea.
 
I close out apps/tabs that I haven't used for a while cause it's nice to know that I'm not pushing my RAM anymore I need too. I normally have btop open, so I can see the RAM usage in real time. Its satisfying seeing it go down when I close out things XD
 
smirking:
"If you have to ask how to do this, disabling the way your your computer is supposed to run is a bad idea."

My Macs run GREAT (having disabled VM disk swapping).
They do not crash.
They run fine.

Until you have tried this yourself -- you have no experience by which to post about "the results"...
 
  • Angry
Reactions: jagooch
Only when I'm using a new OS with old hardware past due for an upgrade.

Snow Leopard with 2GB RAM needed some app juggling.
Yosemite with 4GB RAM needed some app juggling.

Monterey with 8GB RAM was starting to feel tight, but I think that was mostly me hitting the CPU limits for a dual-core laptop.

So far I haven't had any issues with 16GB RAM. If I close tabs that is more for managing clutter than performance.
 
Only when I'm using a new OS with old hardware past due for an upgrade.

Snow Leopard with 2GB RAM needed some app juggling.
Yosemite with 4GB RAM needed some app juggling.

Monterey with 8GB RAM was starting to feel tight, but I think that was mostly me hitting the CPU limits for a dual-core laptop.

So far I haven't had any issues with 16GB RAM. If I close tabs that is more for managing clutter than performance.
I have 2010 and 2015 Macbook Pro's. Both have 16 GB of RAM and 2010 has SSD in it. Both have turned into museum pieces because CPU cannot keep up with modern OS and usage. I installed Mojave on 2010 and it was not actually usable because Core2Duo was the bottleneck. I did not even bother to install Ventura on 2015 because it was almost the same - basic things were OK but in my typical use case CPU was not able to keep up - while 16 GB RAM was perfectly adequate.

It might be "boiling of the frog" syndrome which is "hiding" the problem from the user before getting the new machine

As what comes to current use - 16 GB is still OK when not running multiple virtual machines at the same time
snap 2025-03-29 at 16.44.56.png
Yes there is over 6 GB swapped out but it is mainly sleeping tabs (probably over 200 of them) in 4 different web browsers that are using it. That is perfectly normal and M3 in Air is very rarely overwhelmed - main holdback can be thermal throttling (being fanless), but even that is rare thing to happen.
 
I wonder if this has anything to do with that other thing you're doing:

Having said that, I do regularly check my memory pressure (I have 64 GB). I also have tons of tabs open in various browsers. If I find the memory pressure in the yellow, I know that it's time to relaunch Edge to bring it back into the green. Sometimes I also need to relaunch a folder sync app that consumes more and more memory gradually.
 
You know you don’t need to do that. Yellow memory pressure is totally normal.

i feel certain slowdowns in some operations when memory pressure is in the yellow. it's the slowdowns themselves that actually sometimes make me check the pressure.

this is less of a problem on this M1 64 GB machine. on my previous Intel Macs with less memory, the yellow pressure was quite noticeable.
 
I wonder if this has anything to do with that other thing you're doing:

Having said that, I do regularly check my memory pressure (I have 64 GB). I also have tons of tabs open in various browsers. If I find the memory pressure in the yellow, I know that it's time to relaunch Edge to bring it back into the green. Sometimes I also need to relaunch a folder sync app that consumes more and more memory gradually.
No, It was only a week ago I shrunk macOS down to 64GB. I use Asahi as my daily driver now. I've always had to close apps on this MBP even when macOS had full storage.
 
i feel certain slowdowns in some operations when memory pressure is in the yellow. it's the slowdowns themselves that actually sometimes make me check the pressure.

this is less of a problem on this M1 64 GB machine. on my previous Intel Macs with less memory, the yellow pressure was quite noticeable.

I've been a memory hoarder myself for most of my life. I finally cured myself of the habit when I ran into some developers who coded circles around me and did everything I did on nothing more than the base model of the original 13" M1.

That convinced me to try breaking up with my memory buying habits. I went with a 16GB M1 Pro on faith and I rode that machine hard for 3 years.

What I learned is that if you believe that your computer slows down when you get yellow memory pressure, you will almost always confirm your beliefs. That's because your memory is yellow a lot more often than you realize. If you check when everything is normal, you'll also see a lot of yellow memory pressure. MacOS is designed to be greedy in claiming memory and actively swap before you even need it. It's normal. Also, swap in 2025 is not like swap in 2005 when we were all swapping to and from spinning metal plates.

You very well may need every single bit of that 64GB for some high intensity tasks, but when you're just doing everyday computing, really there's no need to micromanage your memory (especially when you already have such a well spec'd machine).
 
Last edited:
I got used to seeing yellow memory pressure but often swap would reach as high as 8-10gb 1-2 times a day, requiring me to restart my browser and or kill apps. Thus why I wish I gotten 32GB of RAM instead of 16.
 
RAM makes people hypochondriacs. Strictly performance-wise, consensus here is correct - a modern machine can manage RAM/Swap better than a person can keep up. Unix was designed from the microkernel up, to leverage swap space, because it was conceived when 4K or RAM cost the GDP of some countries. Some Unix code won't run at all without a swap partition (in unix/linux, swap space isn't merely a FILE, it's a whole dedicated drive partition.). And, yes, there are limits to what can be accomplished in 8 GB vs. 64 GB RAM, particularly where Adobe is concerned, regardless of how much swap space is available. Moar RAMz beter awlwaze.

There are, however, security benefits to running the fewest necessary apps at one time, and snuffing apps when their tasks are complete. Owing to inevitable sloppiness in hardware and code, memory can leak, allowing lateral movement from one app to another, accidental or intentional. Which leads us to malware specifically designed to scan for, and take possession of, memory address space that contains residual data - which obviously would not be encrypted. If that activity is persistent, your data will get pwned - and persistence is a primary goal of malware creators.

Leaky memory pipelining is also one condition for which certain vintages of CPUs required patches, to compensate for flawed hardware, essentially disabling a significant advantages -- pre-fetch caching of instructions and data. This affects performance regardless of how much RAM the system has, in use or available. Depending on one's operational workflow, this penalty can seem like RAM.
 
  • Like
Reactions: smirking
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.