Glossary/Memory

Wired Memory

Quick answer

Wired Memory is RAM the system needs to operate that must stay in physical memory. It cannot be moved to disk or cached, so it is not available to apps.

The macOS kernel, drivers and some core system data use wired memory because they must always be in RAM. It is one of the parts of Memory Used in Activity Monitor.

Wired memory changes as you use the Mac. Some of it depends on what is running, so it is not a fixed amount.

Why Wired Memory is high

Hardware, drivers and system features all take some wired memory. Virtualization and some graphics work can add more. Since you cannot free it directly, the practical question is whether memory pressure is still green.

What you can do about it

Quit apps that run virtual machines or other heavy system level work if you are not using them, and restart the Mac if wired memory seems unusually high after a long uptime. Do not remove system files or kernel extensions to try to reduce it.

How to check Wired Memory

You can see wired memory in Activity Monitor or in Terminal. Activity Monitor shows it only as a total for the whole Mac. There is no per-process wired memory column to add from View > Columns. The Terminal commands below only read information.

  1. In Activity Monitor, click the Memory tab. Wired Memory is listed under Memory Used at the bottom of the window.
  2. In Terminal, run top -l 1 | grep PhysMem. The line shows memory used, with the wired amount in parentheses, and how much is unused.
  3. For a more detailed view, run vm_stat. The first line gives the page size, and Pages wired down is the number of wired pages. Multiply the two to get the amount in bytes.

What uses wired memory

Activity Monitor describes wired memory as physical memory containing data that cannot be compressed or swapped to disk. Things that commonly need it include:

  • The macOS kernel and its own data.
  • Drivers and kernel extensions for your hardware and accessories.
  • Page tables, which the system uses to keep track of each process's memory.
  • Memory an app has locked in RAM on purpose, which some apps do so their data is never moved out of memory.

Is Wired Memory the same as kernel_task memory?

No. The kernel_task row in the Memory column usually shows a much smaller figure than Wired Memory at the bottom of the window. Wired memory is counted system wide and is not charged to one process row, so you will not find the full amount by sorting the process list.

This is also why you cannot quit your way out of most wired memory. It is released when the part of the system that needs it no longer does.

Why wired memory matters, and when it is worth checking

Because wired memory cannot be compressed or moved to disk, every bit of it is RAM that apps cannot use. Apple lists wired memory as one of the inputs to memory pressure.

On a Mac with a lot of RAM, a large wired figure rarely makes a difference. On a Mac with less RAM, the same amount leaves less room for apps, so memory pressure turns yellow sooner. The fix is the same as for any memory shortage: run fewer heavy apps at once.

Normal: wired memory moves up and down a little as you connect devices, start and stop virtual machines, and use the Mac. It is a part of Memory Used on every Mac.

Worth checking: wired memory keeps growing over days while you run the same apps, and memory pressure starts turning yellow. Restart the Mac and watch whether it grows again. If it only grows when a certain accessory or driver is installed, check that software for an update or remove it with its own uninstaller. Apps that claim to free memory cannot release wired memory, because it has to stay in RAM.

Questions people ask

What is Wired Memory on Mac?

It is memory the system needs to run, which has to stay in RAM and cannot be used by apps.

Can I free Wired Memory?

Not directly. It is released when the system no longer needs it, for example when you quit a virtual machine. A restart resets it.

Is high Wired Memory bad?

Not if memory pressure is green. Check memory pressure rather than the wired figure on its own.

Can wired memory be compressed or swapped?

No. That is what makes it wired. It has to stay in RAM for as long as the system needs it.

Why is kernel_task's memory lower than Wired Memory?

Wired memory is counted for the whole system rather than charged to one process, so the kernel_task row does not show all of it.

Does wired memory affect memory pressure?

Yes. Apple lists wired memory as one of the things memory pressure is based on, along with free memory, swap rate and file cached memory.

Related

Looking for something better than Activity Monitor? See the best Activity Monitor alternatives for Mac, or browse every term in the glossary.