Skip to content
macOS Storage Diagnostics

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.

October 20267 min read

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:

Docker Virtual Disk30–80 GB
Xcode DerivedData20–60 GB
AI Models (Ollama/HF)30–120 GB
Zombie node_modules20–50 GB
Toolchain Caches15–35 GB
APFS Snapshots10–40 GB

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 --volumes

2. 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 unavailable

3. 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 4

5. 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.
Result: Most developers immediately recover 40 to 120 GB of System Data in under two minutes without rebooting.

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 Free