Your Mac is smart enough to understand what files are redundant and can be removed. Your Mac calls these files Purgeable Data. Usually, it’s about outdated caches, duplicates, and any kind of files that can be deleted without any impact on your system.
To see purgeable data, you should enable the Optimize Storage feature on Mac. Go to the Apple menu, click About this Mac, and then the Storage tab. If you’ve activated storage optimization, you’ll see that next to color-coded sections for Documents, Apps, Photos, etc, there’s one called Purgeable.
The Optimize Storage feature allows you to quickly identify files that are taking up lots of space on your startup disk and either delete them or move them to iCloud, depending on the type of file. There are a couple of different ways to use it, one of which uses CleanMyMac and which adds an extra tab – ’System Junk’ – to the Manage Storage window. Here’s method one.
What is purgeable memory?
Purgeable memory is slots of memory on your Mac that contain information, e.g. data or files, that can be removed by your operating system when more space is needed for running the system or saving new data.
Since your operating system can remove these files on its own in order to meet its memory space needs, you don’t have to worry about running out of space due to these items. If you’d like to clear purgeable space on your Mac yourself, read on.
The fastest way to clear Purgeable space from Mac
If you have CleanMyMac X installed on your Mac, you’ll have noticed an additional section – System Junk. These are system files CleanMyMac has identified that can be safely trashed. All you need to do is click on System Junk and click Run.
If you don’t have CleanMyMac installed, it’s available in Setapp – just launch Setapp, search for CleanMyMac and click Install.
Here’s what to do next.
- Launch CleanMyMac, click the Smart Scan tab, and then click Scan.
- When CleanMyMac has finished scanning, click Run to perform the cleaning.
Also, you can perform cleanup with the Cleanup section – System Junk, Photo Junk, Mail attachments, etc, and review the results. You may be surprised by the results and by just how much space you can reclaim.
To see in detail what CleanMyMac has found in each section, click Review Details. From there, you can uncheck any items you don’t want to delete. When you’re ready, click Clean to delete the junk.
When you’re done, you should have got rid of several gigabytes of purgeable data and freed up lots of room on your hard disk.
How to reduce Purgeable space manually
It’s always better if someone can do the cleaning for you, both at home and on your Mac. Nevertheless, it’s a good idea to learn how to free up space manually. While purgeable information can be restored at any time, there’s a little risk you’ll remove any important data:
- Click on the Apple menu at the left of the Finder menu bar and choose About this Mac.
- Click the storage tab and you’ll see a bar with different colored sections on it. Each of these sections describes a specific type of data. Documents is first, followed by System, then Apps, and so on. Towards the right, you’ll see a section called Purgeable.
- Click Manage to free up space on your Mac. The next window that opens, launches with the first tab on the left, Recommended, selected. You’ll see four options. The first allows you to store all files on the Desktop or in your Documents folder in iCloud and only keep those you’ve opened recently on your Mac. To enable it, Click Store in iCloud.
- The next three options allow you to remove movies and TV programmes you’ve already watched in iTunes from your Mac; empty the Trash automatically every 30 days; and review files in your Documents folder and delete any you don’t need.
- Once you’ve been through the Recommended options, you can click on the other sections on the left and follow the instructions to either delete files or review them before deciding what to do.
Delete purgeable space using Terminal
One solution users often share online to remove files in the purgeable space on their Macs is creating (and then deleting) a large file using Terminal. This forces the system to clear purgeable space in order to accommodate the large file, thus accomplishing the task of removing items in the purgeable space of your Macintosh HD.
Here’s the algorithm for creating a large file using Terminal commands — by creating a dummy file. Some users prefer to do this by creating an empty image disk in Disk Utility, but you can easily do the same in Terminal, and with more file type options to choose from.
Here’s the step-by-step. Open Terminal and move to the folder where you want to create your file using the cd command. For example, we moved to our Downloads folder to create the dummy file there.
- Type in ls and hit Enter. View the folders in your current directory and choose one of them where you want to create your dummy file. We chose Downloads.
- Type in cd Downloads and hit Enter (replace “Downloads” with the name of the folder you chose).
- Type in mkfile 30m one.mov and hit Enter. Your new file will be created in the folder you navigated to in the steps above.
“30m” in the command in our third step stands for file size of 30 MB. Replace this number with a larger number to force your system to purge the purgeable space; e.g. if you have 40 GB of free space on your Mac’s disk plus 10 GB of purgeable space, you need to create a file larger than 40 GB in order for the system to be forced to purge. Note that while “30m” stands for 30 MB, “30g” would stand for 30 GB.
You can name your file anything you like, so you can use “one.mov” as in our example or any other file name with a different extension that’s compatible with macOS.
After you are done, remember to drag your newly created file to Trash and then empty Trash. This way, your Macintosh HD purgeable space opens up but you don’t clog your machine with more junk files instead.
Optimize your Mac’s storage
Now that we’ve figured out how to delete purgeable files on Mac, let’s look at optimizing your storage. macOS actually has an Optimize Storage tool that you can use.
Go to the Apple menu at the top left of your screen and click About This Mac. Go to Storage > Manage….
You’ll see a number of Recommendations based on your usage, including Optimize Storage that removes movies and TV shows you’ve already watched (you can redownload them at any time, if you need to). Recommendations also include suggestions to store items in iCloud to save space on your device and empty Trash automatically.
Other methods for identifying and removing purgeable data
Disk Drill, also available in Setapp, has a Clean Up section, which allows you to identify and delete files you don’t need.
- Install Disk Drill from Setapp if you haven’t done so already.
- Launch it and click ‘Clean Up’ in the toolbar.’ In the next window, click ‘Let’s get started.’ Click on the drive you want to clean up, then click Scan.
- Disk Drill will now scan your Mac identifying all the files on the drive you selected. When it’s done, it will list the folders on the disk in order of the amount of disk space they are occupying. By default, it doesn’t display any system or hidden files. To display those, click on the left menu and select ‘All files (including system and hidden ones).’
- Starting at the top, click on the drop-down arrow to display files inside the folder. If there are more folders inside, click on the drop-down arrows on those. You’ll soon tunnel down to the files that are taking up the most space on your drive – they’ll be labeled in red.
- To change the way Disk Drill displays files, use the other menus. For example, you can display files by the percentage of the total disk space they use, or only display files that take up more than the space you specify.
- To delete a file you no longer need, click the checkbox next to it and click ‘Remove file.’
Another way to free up disk space is to get rid of duplicate files. Gemini, another app available in Setapp, does exactly that.
- Install Gemini from Setapp and launch it.
- Read the information cards that appear and click Next when you’re done.
- When you see the window with a big ‘+’ in it, drag a folder onto it to identify duplicates. For example, open a Finder window and drag your user folder onto the ‘+’.
- Gemini will start scanning the folder for duplicate files. When it reaches your iTunes and Photos libraries, it will ask you to open those applications. You can either do so, or skip them and Gemini will leave those libraries alone.
- When it’s finished, click Clean Up to remove all the duplicates it’s found, or click Review Duplicates to select the ones you want to remove yourself.
- In the review window, click on the drop-down arrow next to folders of duplicates, make sure they really are duplicates, then check the box next to the one you want to delete and click Remove.
Without regular cleanups, purgeable data can pile up on your Mac, lightning-fast. In fact, the redundant file caches and duplicates can occupy up to 30% of your disk space. That’s a lot of storage you could use for valuable things. With cleaning utilities and a few minutes of your time, you can free it up and forget about the problem of limited storage.