Symptom
macOS shows “Your disk is almost full”, Xcode builds fail halfway, downloaded installers will not unpack, or Docker and npm report No space left on device.
Possible causes (most common first)
- Xcode simulator runtimes, platform support components and build output keep piling up. On a development machine this is usually the biggest consumer.
- Docker images, stopped containers and build cache all live in one disk image, which only grows if nobody cleans it.
- Download caches from package managers such as Homebrew, npm and CocoaPods, plus installers left in the Downloads folder and files sitting in a Trash that was never emptied.
- Task logs or exported archives keep being written to the machine and nobody removes the old ones.
Troubleshooting steps (easiest first)
Find out what is using the space
Open System Settings → General → Storage. macOS lists usage by category; Apple's instructions are in Free up storage space on Mac. In Terminal,
du -sh ~/Library/Developer ~/Library/Caches ~/Downloadsshows how big a few common folders are. Look at the numbers before you delete anything; do not delete by guesswork.Clear Xcode's optional components and build output
In Xcode, Settings → Components shows the reclaimable space next to each platform and simulator runtime, and the info button lets you delete the ones you do not use. See the Apple developer documentation. The location of build output (Derived Data) is shown under Locations in Xcode's settings. You can delete the whole folder; the next build recreates it, and only that first compile is slower.
xcrun simctl delete unavailableremoves simulator devices whose runtime no longer exists.Clear Docker and package manager caches
docker system pruneremoves stopped containers, unused networks and dangling images. Read the list it prints before you confirm. Docker Desktop's Troubleshoot menu has Clean up data, but that destroys every local container and image, so use it only when you are sure you do not need them. For package managers,brew cleanupremoves old versions and download cache, andnpm cache clean --forceclears the npm cache.Empty the Trash, tidy Downloads and logs
Moving a file to the Trash does not free any space until you empty it. Xcode installers and disk images in the Downloads folder can be deleted once they are installed. For long-running tasks, split logs by day and delete old ones on a schedule.
What not to delete
Apple's general clean-up advice includes “delete user accounts you no longer use” and “start up in safe mode”. Neither applies to a rented machine: any account on the Mac other than yours is the platform's management account, the remote-access and management components must not be uninstalled, and starting in safe mode drops your remote connection. If you see an entry in
/Libraryor/Applicationsthat you do not recognise, ask support before deleting it.
When to contact support directly
If the disk is still too small after cleaning, the configuration you picked is too small, and more cleaning only postpones the problem. Contact support on Contact support with your machine ID, a screenshot of the Storage page and your main use, and ask about changing the configuration or adding an external drive. An external drive adds storage only, not memory; pricing and stock are on the plans page. If a folder you do not recognise is unusually large, send it to support to confirm as well. Do not delete it yourself.
FAQ
“System Data” in Storage is huge. Can I clear it?
That category mixes caches, logs, simulators and container data, and there is no one-click way to clear it. After you clear the development tool caches with the steps above it usually shrinks too. Do not let cleaner apps from unknown sources touch system folders.
Can I keep my projects on an external drive?
Yes, provided the machine already has an external drive attached. Whether it has one, and how to add one, has to be confirmed with support first: connector, capacity and delivery arrangements.
Related
- iOS without a Mac: a remote Mac mini can build, sign and upload, but not debug on a real device
- Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
- Xcode install stuck, or iOS simulator runtime won't finish downloading
- Docker Desktop stuck on Starting and won't start on a remote Mac
- Can I install Node, Homebrew and Docker on a rented Mac mini myself?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support