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

boswald

macrumors 68040
Original poster
So I'm still pretty new to the Mac, and I've been poking around Activity Monitor to learn what makes macOS tick. I tried to open a huge image on a website (14k resolution) so I got the beach ball and "256kb swap used" in AM. Is there any way to reset this back to zero? I've rebooted twice since it happened but it's still there. No big deal if I can't. I guess I'm just curious.
 
I think swap space gets set aside at boot time. There is a separate apfs volume for it that you can see if you run "diskutil list" in Terminal; the relevant line on my Neo is this:

Less:
6:                APFS Volume VM                      2.1 GB     disk3s6

The VM is "virtual memory" or swap. Any storage used in that volume gets cleared/reset when the system is restarted, and the volume is reduced to a "minimal size" (quoting Siri AI here). So I presume the 256kb is that minimal size? 🤷‍♂️
 
Last edited:
  • Like
Reactions: boswald
So I'm still pretty new to the Mac, and I've been poking around Activity Monitor to learn what makes macOS tick. I tried to open a huge image on a website (14k resolution) so I got the beach ball and "256kb swap used" in AM. Is there any way to reset this back to zero? I've rebooted twice since it happened but it's still there. No big deal if I can't. I guess I'm just curious.
I'd strongly advise against trying to manage memory use. Leave it to the OS.
 
  • Like
Reactions: ignatius345
I think swap space gets set aside at boot time. There is a separate apfs volume for it that you can see if you run "diskutil list" in Terminal; the relevant line on my Neo is this:

Less:
6:                APFS Volume VM                      2.1 GB     disk3s6

The VM is "virtual memory" or swap. Any storage used in that volume gets cleared/reset when the system is restarted, and the volume is reduced to a "minimal size" (quoting Siri AI here). So I presume the 256kb is that minimal size? 🤷‍♂️
So it can go from Zero to 256KB and it means the same?
 
Fun to peep under the hood, I guess, but don't fall into the trap of obsessing over swap space. It's used to park things you're not actively working on, freeing up RAM to speed up what you are actively working on. It's a normal part of macOS's excellent memory management.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.