Thrum

What is dynamic_pager, and does it cause swap use on my Mac?

Last reviewed: 19 November 2026. Path, account, launchd job, swap file location and man page checked on macOS 26.3.1.

dynamic_pager is the macOS swap configuration daemon: it sets the base name and location for swap files, the files macOS uses to hold memory that does not fit in RAM. On a current Mac it runs at startup and exits, so it is rarely seen in Activity Monitor. Swap use comes from memory pressure, not from dynamic_pager.

dynamic_pager at a glance

dynamic_pager
Made byApple (part of macOS, virtual memory)
TypeSystem daemon
Location/sbin/dynamic_pager
Runs asroot
Started bylaunchd job com.apple.dynamic_pager
Can you quit it?There is normally nothing to quit: it configures swap at startup and exits.

What is dynamic_pager?

Swap is space on disk where macOS puts memory pages that do not fit in physical memory. The dynamic_pager man page says the daemon can be used to specify a base name for swap file names with its -F option or through its configuration property list, and gives /private/var/vm/swapfile as the default.

On a Mac checked with macOS 26.3.1, the swap files were in /System/Volumes/VM (named swapfile0, swapfile1 and so on), and launchd's record of the com.apple.dynamic_pager job showed it had run once since startup and exited normally, while several gigabytes of swap were in use.

Is dynamic_pager safe?

Yes. dynamic_pager is a core macOS program in /sbin, signed by Apple, that only sets up swap. The swap files themselves are encrypted, as sysctl vm.swapusage reports.

Why does dynamic_pager use so much disk and memory?

How much disk is normal for dynamic_pager?

dynamic_pager should not appear in Activity Monitor during normal use. Swap of a few hundred megabytes to a few gigabytes is common on Macs that keep many apps open.

Swap that keeps growing while memory pressure is yellow or red means the Mac needs more memory than it has for the current workload.

How do you check and reduce swap use?

  1. Check swap in Terminal. Run sysctl vm.swapusage. It shows total, used and free swap, and whether swap is encrypted.
  2. Check memory pressure. In Activity Monitor's Memory tab, look at the Memory Pressure graph and the Swap Used figure at the bottom.
  3. Find the memory users. Sort the Memory tab by the Memory column and quit or restart apps holding the most.
  4. Restart to clear old swap files. Swap files are removed when the Mac restarts. If swap was high from a past workload, a restart resets it.

When should you worry about dynamic_pager?

Worry about steady swap growth with red memory pressure and a slow Mac; that is a memory shortage, not a problem with dynamic_pager.

dynamic_pager staying in the process list and using CPU is not expected.

How do you check dynamic_pager in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), choose View > All Processes, and type dynamic_pager in the search field. The Disk tab shows its Bytes Written and Bytes Read. The Memory tab shows its Memory. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every dynamic_pager process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). fs_usage prints each file it reads or writes until you press Control-C; it needs an administrator password.

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'dynamic_pager' | grep -v grep
sudo fs_usage -w -f filesys dynamic_pager

How can Thrum help with dynamic_pager?

Thrum's Disk tab shows read and write speed for the whole Mac, and its CPU and Memory tabs list dynamic_pager with the rest. macOS does not give per-process disk counters for processes owned by root or other users to an app without administrator rights, so Thrum shows dynamic_pager by CPU and memory, not by bytes written. macOS does not let apps quit processes owned by root or other users, so Thrum shows them for information and leaves stopping them to the steps above.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about dynamic_pager

Can I disable swap on a Mac?

Not in a supported way on current macOS with System Integrity Protection on. macOS manages swap automatically.

Where are swap files on macOS 26?

On the Mac checked for this page they were in /System/Volumes/VM, a separate volume that the system manages.

Sources