How to Clear Huge macOS 'System Data' for Developers
You open System Settings > General > Storage and see a massive, terrifying yellow or grey bar: System Data is taking up 80 GB, 120 GB, or even 200 GB. Apple doesn't provide a button to clean it. Here is the exact breakdown of why your developer tools get classified as 'System Data' and how to safely reclaim 50–150 GB of SSD space.
Why Apple Labels Developer Tools as 'System Data'
macOS only understands everyday consumer files: Applications, Photos, Music, and Documents. Anything stored in your hidden ~/Library directory or dotfile directories (~/.docker, ~/.ollama, ~/.cargo) is blindly lumped into the generic “System Data” bucket.
On a typical developer machine, 85%+ of “System Data” is NOT macOS at all:
1. The #1 Offender: Docker Desktop VM Disk (25–80 GB)
Docker on macOS runs inside a Linux virtual machine. Its entire filesystem is stored inside a single monolithic sparse bundle file at ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw.
Because macOS cannot inspect the contents of that raw virtual machine disk, it classifies the entire file as System Data. Even when you delete containers, the virtual disk often fails to shrink back down automatically.
# Check how big your Docker virtual disk is: ls -lh ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw 2>/dev/null # Prune all dangling images and BuildKit cache layers: docker system prune -a --volumes2. Xcode DerivedData & Dead Simulators (20–60 GB)
Every iOS, macOS, or Flutter build compiles intermediate objects into ~/Library/Developer/Xcode/DerivedData. Additionally, older versions of iOS simulator runtimes linger in ~/Library/Developer/CoreSimulator/Devices. All of this is hidden inside System Data.
# Check Xcode DerivedData size: du -sh ~/Library/Developer/Xcode/DerivedData 2>/dev/null # Safely delete DerivedData (Xcode will regenerate what it needs): rm -rf ~/Library/Developer/Xcode/DerivedData/* # Delete unavailable or outdated simulator runtimes: xcrun simctl delete unavailable3. Local AI Models & Checkpoints (30–120 GB)
If you have experimented with Ollama, Hugging Face, ComfyUI, or LM Studio, you likely have 50–100 GB of quantized GGUF and safetensors weights stored on your NVMe SSD. Ollama stores model blobs in ~/.ollama/models/blobs/ with cryptographic SHA hashes instead of human-readable file names. Apple categorizes all of it as System Data.
# Check Ollama and Hugging Face storage consumption: du -sh ~/.ollama/models 2>/dev/null du -sh ~/.cache/huggingface 2>/dev/null # List Ollama models and remove unused ones: ollama list ollama rm <model-name>4. APFS Local Time Machine Snapshots (10–40 GB)
When Time Machine is enabled on your Mac, macOS automatically creates hidden APFS local snapshots before every system update or large file operation. These snapshots lock deleted files into “purgeable” storage that still displays under System Data until the snapshots are pruned.
# List existing local APFS snapshots: tmutil listlocalsnapshots / # Prune purgeable local snapshots (replace with gigabytes you want to free): tmutil thinlocalsnapshots / 20000000000 45. How SpaceWise Decodes & Cleans System Data in 1 Click
Instead of running half a dozen dangerous terminal commands and risking your active development workspaces, SpaceWise is purpose-built to break down the mystery System Data bar:
- ✓Visual System Data Breakdown: Unmasks exactly which GB belong to Docker, Xcode, Ollama, and zombie project directories.
- ✓AI Folder Explainer: Explains mystery caches in plain English before you decide to touch them.
- ✓Trash-Only Reversible Safety: Cleaned files go to your native OS Trash, ensuring zero risk of unrecoverable data loss.
Do all of this in SpaceWise — for free
SpaceWise scans and safely cleans everything covered in this guide with one click. No Terminal required.
Download for Mac FreeRelated Guides
How to Free Up Docker Disk Space
Prune dangling images and BuildKit cache layers on macOS.
How to Clean Xcode DerivedData
Safe practices for clearing Xcode build artifacts and dead simulator runtimes.
How to Delete Abandoned AI Models
Detect and purge stale Ollama, Hugging Face, and LM Studio model weights.
How to Safely Clean node_modules
Reclaim 20–60 GB from forgotten JavaScript dependencies.