Time Machine local snapshots using up all disk space

I’m having issues with hourly Time Machine local snapshots holding on to very large deleted video files (13g to 26g), resulting in the system running out of disk space. Although it will say I have about 15g free, I can’t even save a small document, and apps start crashing. I kept deleting more and more of these large video files, but the amount of memory free would not go up. I tried a reboot and it never completed. I eventually booted into target disk mode to recover files. At that point I also deleted all the Time Machine local snapshots. That seemed to fix the problem and I was able to reboot and have about 200g free, but then it happened again. I should have had nearly 200g free, but it was back down to 15g until I deleted the snapshots again.


My work flow is to edit the video files on the internal HD from within a folder that is excluded from Time Machine backups. I then copy these large video files one at a time to an iCloud Drive folder that is also excluded from Time Machine backups. Sometime after it is done uploading I do a “remove download” and I also delete the copy on my local hard drive. At this point all disk space associated with the large video file should be free, but apparently it is not. When Time Machine does an hourly local snapshot, it will still capture these large files in the snapshot if I have not deleted them yet, and the snapshots will hold onto them after deleting the files. This is true even if the files are excluded from Time Machine backups.


Due to my workflow and working on many of these large video files in a day, it really easy for me to end up with nearly 200g of deleted video files tied up in hourly Time Machine local snapshots. Is there any way to avoid this? Shouldn’t these snapshots be getting purged automatically when disk space runs low? And why, when I have 15g free, does macOS acts like I have no space available?

iMac 27″, macOS 12.7

Posted on Feb 26, 2025 4:15 PM

Reply

Similar questions

7 replies

Feb 27, 2025 9:25 AM in response to cjp987

It seems you don't have enough internal storage for your workload since video editing does require a lot more Free storage space than most other workloads.


In the mean time you can have TM only back up automatically once a day. You can always force another manual TM backup at any time by clicking on the TM icon on the menu bar. With this option, I have only seen three TM snapshots at any one time (usually just two though if you don't force a manual backup). If you know the backups have successfully transferred to the external backup drive, then you can manually delete those snapshots....you could probably script that if needed at least to save a bit of time to open Disk Utility & click delete.


You can use third party backup software such as Carbon Copy Cloner (CCC) which may have more & better configuration options for you such as possibly configuring how long local snapshots are retained.


Most backup software will be using the APFS snapshotting capabilities. The snapshots can only take the complete volume.....there is no cherry picking which items are retained at this stage. The exclude from backup option is only excluding the transfer of those files/folders from the local snapshot to the actual TM backup drive.


FYI, @Luis Sequeira1 is correct that the Free storage space value is the only important storage value these days, but unfortunately Apple & macOS only show the extremely misleading "Available" storage value everywhere. The actual Free space is only shown in the System Profiler or in Disk Utility. With macOS Free and Available are not even close to being synonyms.


Free space = Available space - Purgeable space


Purgeable storage will be automatically deleted at some unknown time in the future. Local backup snapshots are part of that Purgeable storage. TM snapshots are usually automatically deleted every 24 hours or so.


You can always provide Apple with product feedback here:

Feedback - macOS - Apple



Feb 27, 2025 12:08 PM in response to HWTech

The interaction with iCloud Dirve seems to also have a lot to do with some of my issues. I was up to 200gb free yesterday. Now I'm down to 110gb without having added new large files. TZ only has one local snapshot (which is oddly low) which is almost 24 hours old. It only uses about 10gb, and this is the same as the purgable amount in shown in Disk Utility. So were did I lose this nearly 90gb of memory to? I went searching and found it here:


/Users/<user>/Library/Caches/CloudKit/com.apple.bird/<hash>/MMCS/ClonedFiles


Based on the sizes of the large files I see in this directory, they are the large video files that I had copied to the iCloud Drive, and then did a "remove download" on once they were uploaded. I also see them in my wife's account. I had noticed a couple of days ago that even though from that account the iCloud Drive was never accessed, downloads happened anyway. I had removed all the downloads and then yesterday noticed a couple came back, so I turned off iCloud Drive since her account doesn't need it on. So iCloud Drive is now disabled, yet has 40gb in this cache still. I wonder if these are "orphaned" caches that iCloud Drive doesn't know it no longer needs.

Feb 27, 2025 3:25 AM in response to Luis Sequeira1

Luis Sequeira1 wrote:

Open Disk Utility.
You should see all the local snapshots in there. Select and click the "-" button to delete.

My question was not how to delete the snapshots. In fact I think I made it clear that I had deleted them. My question is how to prevent snapshots from holding on to references to large files that have been deleted, and doing so even as my disk runs out of space. I'm getting app crashes and the inability to even save small files. Going into Disk Utility to delete the snapshots (which I have been doing) to fix this should not be something a user needs to do. I would disable local snapshots if I could. They serve me no purpose and cause too much grief.

Feb 27, 2025 3:39 AM in response to cjp987

Thank you, I admit I read your post a bit too quickly.


Before anything else: running your system with about 15GB free is dangerous. Any drive needs to have at least 15-20% free space, especially if it is the system drive. I would not want to save anything, or use the drive if it is that full.


That said, I am not convinced that snapshots are the problem here. Besides the matter with snapshots, it happens that macOS is very eager to keep disk space as "available" instead of "free", which is unfortunate.

I'd like to have an easy way to free disk space, but macOS prefers to do it on its own time, even if the free space is dangerously low (as is the case here).


Feb 27, 2025 4:08 AM in response to Luis Sequeira1

Luis Sequeira1 wrote:

Before anything else: running your system with about 15GB free is dangerous. Any drive needs to have at least 15-20% free space, especially if it is the system drive. I would not want to save anything, or use the drive if it is that full.

That said, I am not convinced that snapshots are the problem here. Besides the matter with snapshots, it happens that macOS is very eager to keep disk space as "available" instead of "free", which is unfortunate.

It's definitely the snapshots. I've gone in and looked at their contents and found the large files that have otherwise been deleted from the disk.


I'm not attempting to run with 15gb free. I try to keep a lot more than that free (100 to 200gb) by aggressively deleting these large files. But TZ snapshots prevent the space from actually getting freed.


It's odd that when both times I ran into this, I had 15gb free and at that point macOS basically decided I could no longer do disk writes. I couldn't even touch a file to create it. Although snapshots are holding onto a lot of disk space at this point, it seems that there is also something else going. The disk is in an an APFS container that also has two other volumes (they weren't mounted). Could that be resulting in some sort of 15gb reservation that prevents my main disk from accessing that free space.


It's also odd that macOS is not purging the purge-able disk usage when this situation arises.

Feb 27, 2025 1:27 PM in response to cjp987

In the past hour the amount of free and purgeable space increased by 40gb (I've done nothing to instigate this), which is the same size as the iCloud Drive cache files for the account that still has iCloud Drive enabled. The files are still in the cache. Seems some accounting was done to suddenly start including them in the free and purgeable sizes, but not to actually get rid of them. For the account that has disabled iCloud Drive, the files are also still present, but haven't been added back into the free and purgeable sizes yet.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Time Machine local snapshots using up all disk space

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.