CleanMate

All guides · macOS · Updated

Parallels, VMware Fusion, UTM and VirtualBox virtual machines using too much disk space on a Mac

How to find the virtual machines that fill your Mac, see how big each one really is, shrink the ones you use and remove the ones you forgot: Parallels, VMware Fusion, UTM and VirtualBox, with what is safe to delete.

Download for macOS — free and open source

CleanMate Large & Old Files on a Mac showing a Parallels virtual machine bundle as one large itemCleanMate Large & Old Files on a Mac showing a Parallels virtual machine bundle as one large item

A virtual machine is one of the biggest things a Mac can hold. A Windows 11 machine in Parallels Desktop is 40 to 80 GB after a few updates, a Linux machine in UTM 10 to 30 GB, and every snapshot adds the changes made since it was taken. Most people make one for a project or a test, stop using it, and forget it is there, because macOS shows a VM as a single file and Storage settings files it under “Documents” or “Other”.

This guide shows where each app keeps its machines, how to see what each one weighs, how to make a machine you still use smaller, and how to remove one safely.

Where the virtual machines are

Each app stores a machine as a bundle: a folder that Finder shows as one file.

To see the real size of each, run this in Terminal:

du -sh ~/Parallels/*.pvm ~/"Virtual Machines.localized"/*.vmwarevm \
  ~/Library/Containers/com.utmapp.UTM/Data/Documents/*.utm ~/"VirtualBox VMs"/* 2>/dev/null

The size Finder shows in Get Info can be lower than this when the disk is sparse, so trust du for the space it takes on your disk.

Make a machine you still use smaller

A virtual disk grows when the guest writes data and does not shrink by itself when the guest deletes it. Snapshots keep old blocks alive too.

Inside a Windows guest, run Disk Cleanup and empty its Recycle Bin before you reclaim, or there is nothing to give back.

Remove a machine you no longer need

Shut the machine down (not suspend: a suspended machine also keeps a memory file the size of its RAM). Then use the app’s own command: Parallels Control Center › right-click › Remove “” › Move to Trash; VMware Fusion Virtual Machine Library › right-click › Delete; UTM › right-click › Delete; VirtualBox › Machine › Remove › Delete all files. Each moves or deletes the whole bundle, including its disks and snapshots.

Before you do, copy out any files you still want from the guest. A VM is user data, not a cache: nothing downloads it again.

If you removed the app but kept its machines, delete the bundles in Finder and empty the Trash. To remove the app itself with its leftovers, see Uninstall apps completely.

How CleanMate does it

CleanMate 1.12 on a Mac (all macOS features) finds the machines of Parallels Desktop, VMware Fusion, UTM and VirtualBox in Smart Scan › Developer Junk:

For the Linux VMs that Docker tools run in the background (Colima, Lima, Podman, minikube, Rancher Desktop), see Colima, Lima and minikube leftover VMs. For Vagrant boxes and the other infrastructure tools, see Virtual machines and dev infrastructure tools, and for the rest of a developer Mac, Free up disk space on a Mac as a developer.

FAQ

Is it safe to delete a virtual machine file? Only if you no longer need anything inside it. The bundle is the whole computer: its disk, its apps and its files. Shut it down first and copy out what you want to keep.

Why is my VM much bigger than the disk usage inside it? The virtual disk keeps blocks the guest freed, and snapshots keep old data. Delete snapshots and use Reclaim (Parallels), Clean Up (VMware Fusion) or Reclaim Space (UTM).

Does uninstalling Parallels or VMware Fusion delete my machines? No. The bundles stay in ~/Parallels or ~/Virtual Machines.localized until you delete them.

Does Time Machine back up my virtual machines? By default, yes, and a VM that changes daily makes every backup large. Exclude the folder in Time Machine settings if you back up the guest another way.

Skip the commands

Open source — star it on GitHub: CleanMate for macOS

How CleanMate decides what is safe to remove →