Sub topic 3
Understanding categories and System Data
This chapter assumes you can open System Settings, know where your home folder and Library folder are, and have read the previous chapter on opening the Storage pane. It explains what each category in the storage bar means and why System Data is often large. Terminal use is optional.
What the category bar shows
Open System Settings, choose General, then Storage. The colored bar splits used space into categories. macOS assigns each file to a category by its type and location. It then adds up the sizes.
Typical categories include:
- Applications: apps in /Applications and other app folders.
- Documents: files in Documents, Desktop, and similar folders, plus large files such as disk images and archives.
- Photos, Music, Messages, Mail: data held by those apps.
- iCloud Drive: files stored in iCloud and downloaded to this Mac.
- macOS: the operating system itself.
- System Data: everything that fits no other category.
The exact list varies by macOS version and by what you have installed. Categories can take a moment to appear while macOS scans the disk.
What System Data contains
System Data is a catch-all. It is not one folder, and it does not map to a single thing you can open. It commonly includes:
- Caches from the system and from your apps.
- Logs and temporary files.
- Time Machine local snapshots.
- Virtual machine images and app support data, such as those from Docker or Parallels.
- Plug-ins, fonts, and other system resources.
- Files macOS cannot classify.
A System Data figure of 20 to 60 GB is common. A figure far above that usually has an identifiable cause, such as local snapshots, a large virtual machine, or a runaway cache.
Reading the numbers
Hovering over a category in the bar, or clicking the information button next to it, shows its size. Three points help you interpret them:
- The categories add up to used space, but not exactly to what Finder shows for a folder. Finder counts a folder's contents. Storage settings counts by category.
- Some space is purgeable, meaning macOS can reclaim it on demand. The next chapter covers this.
- System Data can change without any action from you, because caches and snapshots grow and shrink automatically.
Investigating a large System Data figure
Storage settings will not list what is inside System Data, so you work from likely causes. A reasonable order is:
- Check user caches. This command reports the size of your user-level caches:
du -sh ~/Library/Caches- Check for Time Machine local snapshots:
tmutil listlocalsnapshots /- Look at your largest home folders to find app data, such as virtual machines or mail stores, that lives in ~/Library:
du -h -d 1 ~ 2>/dev/null | sort -hr | head -n 10The 2>/dev/null part hides permission errors. The sort -hr part orders sizes from largest to smallest, and head -n 10 keeps the top ten lines.
Common mistakes
- Treating System Data as junk. Much of it is needed by macOS and your apps.
- Expecting the number to drop right after deleting a file. The pane may need time to rescan. Restarting the Mac or waiting a few minutes often updates it.
- Using third-party "cleaner" apps that promise to empty System Data in one click. They tend to delete caches that the system rebuilds, and the space returns.
Exercise
Your Storage pane shows System Data at 140 GB. Name two places to check first, and say what you would not do.
Show answer
Check local Time Machine snapshots with tmutil listlocalsnapshots / and check the size of ~/Library/Caches with du -sh ~/Library/Caches. You could also look at large app data such as virtual machine images. You would not delete files from /System or /Library, because macOS depends on them.