Thursday, December 6, 2018 [Tweets] [Favorites]

How OmniDiskSweeper Reports Free Space

Ken Case:

The “purgeable” space is space that the operating system knows how to reclaim when you try to create files that need that space. But it’s not truly cleared up from the disk yet and still shows up in OmniDiskSweeper’s summary list. But even though it shows up in the summary, it won’t show up when you browse the disk looking for files to delete—so OmniDiskSweeper will end up reporting different numbers for space used based on how it scans your disk.

[…]

These snapshots can take nearly zero space at the start (because their contents are exactly the same as the current files on disk), but as files get edited or removed the snapshots start to take up more and more space. In particular, when you delete huge files (because you’re trying to clear up space), they will disappear from your filesystem but will still exist in your snapshots until those are removed. This is where I usually find the bulk of the “purgeable” space reported in Disk Utility.

Also, OmniDiskSweeper doesn’t tell you about APFS cloned files. (I’m not sure how it reasonably could.) So, although it will tell you how much space a given file is using, deleting that file may only increase the free space by a fraction of that amount.

Previously: Dive Into APFS.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment