Skip to content
Help

com.apple.Virtualization.VirtualMachine using a lot of CPU

The busiest line in Activity Monitor is a virtual machine. What runs inside it, how to find out, and how to keep it in check.

The short answer

It is a virtual machine: a whole computer running inside your Mac, started by an app such as Docker Desktop, OrbStack, Colima, Podman or UTM. Everything that runs inside it shows up as this one line, so a busy container looks like one huge process. Find the busy work inside it, and give the machine fewer cores.

What it is

macOS runs every virtual machine an app starts with Apple's Virtualization framework as its own process, called com.apple.Virtualization.VirtualMachine. Activity Monitor shows that process, but not which app started it, and nothing of what runs inside. A Docker container building a project at full speed therefore looks like a single process using 800% CPU or more.

Which app is it?

Activity Monitor lists it under launchd, which says nothing. If you only use one such app, it is that one; if you run several, quitting them one at a time shows which. MyMacFriend names the app beside the line straight away, for example Docker Desktop's virtual machine.

What is busy inside it

For Docker, two commands in Terminal show it:

  1. docker stats --no-stream lists every running container with its CPU use; the busy one is at the top of the CPU % column.
  2. docker top <name> lists what runs inside that container, such as a build, a test run or a database.

If it was not meant to run now, docker stop <name> stops that one container. For other virtual machines, open a terminal inside the machine and run top there.

MyMacFriend does this for Docker without the Terminal: its Health tab names the busiest container and the command running in it, and gives the command to stop it.

Keep it from heating the Mac

By default Docker Desktop may use every core of the Mac, so one busy container can make the whole Mac hot and loud. In Docker Desktop → Settings → Resources, set the CPU limit to about half your cores: builds take a little longer, and the Mac stays cool and quiet. Other apps have the same setting under their own name; a virtual machine also keeps the memory you give it, so do not give it more than it needs.

Can I quit it?

Quitting this process in Activity Monitor stops the virtual machine at once, like pulling its power cord: every container in it stops, and unsaved work inside may be lost. Stop it from its own app instead, for example Docker Desktop's Quit, or docker stop for one container.

It also takes disk space

A virtual machine keeps its disk as one large file that grows as images and containers pile up, and rarely shrinks by itself. On a Mac this ends up in System Data in the storage settings.

Free, small and private

Under 10 MB to download, for Apple silicon and Intel Macs on macOS 15 or later. Everything stays on your Mac.