Unified memory architecture

Also known as: unified memory

On this page 7

Unified memory architecture (often shortened to unified memory) is a system design in which the CPU, GPU and other processors on one chip share a single pool of memory and address the same physical data, instead of each owning separate memory. In Apple silicon & compatibility, it is the memory model of every Apple M-series chip, where the memory sits inside the chip package next to the system on a chip.

The design removes the need to copy data between system RAM and video memory, gives the graphics processor access to far more memory than typical discrete graphics cards offer, and influences how much memory a Mac buyer should choose, because the amount is fixed at purchase and cannot be upgraded.

How unified memory architecture works

In a conventional PC with a discrete graphics card, the CPU uses system RAM on the motherboard while the GPU uses its own video memory (VRAM) on the card. Textures, geometry or machine learning tensors must be copied across the PCI Express bus before the GPU can use them, and results often have to be copied back.

On Apple silicon, the CPU cores, GPU cores, Apple Neural Engine, media engines and other accelerators connect to one memory controller fabric and one set of LPDDR memory dies mounted on the same package. Each processor can work on the same buffer in place. The operating system still assigns memory pages to processes and controls access, but there is no separate graphics memory partition fixed at boot.

A large system-level cache shared by the processors reduces trips to memory, and the wide memory interface provides bandwidth that is high for a laptop or desktop CPU, although lower than that of high-end discrete GPUs with dedicated GDDR or HBM memory.

StepDiscrete GPU with separate VRAMUnified memory architecture
Load assetRead into system RAMRead into shared memory
Prepare for GPUCopy across PCI Express to VRAMNo copy needed
GPU processingWorks in its own VRAMWorks on the shared buffer
Return result to CPUCopy back to system RAMCPU reads the same buffer
Memory limit for GPUSize of VRAM, often 8-24 GBLarge share of total system memory
Data flow in separate and unified memory designs

Key parameters across Apple silicon tiers

Unified memory is characterized mainly by capacity and bandwidth, both of which scale with the chip tier because higher tiers use wider memory interfaces. Exact values differ by generation, so the table gives orders of magnitude rather than specifications of one model.

Chip tierTypical capacity optionsMemory bandwidth rangeTypical workload
Base M-series8 GB to 32 GBAbout 70-120 GB/sOffice work, photo editing, development
Pro16 GB to 64 GBAbout 150-275 GB/sVideo editing, larger code builds
Max32 GB to 128 GBAbout 400-550 GB/s3D rendering, high-resolution video, local AI
Ultra64 GB to several hundred GBAbout 800 GB/s or moreLarge models and heavy multistream work
Approximate unified memory characteristics by chip tier

Because the GPU can use most of the installed memory, a Mac with 64 GB or more of unified memory can load graphics scenes or machine learning models that would not fit on a consumer graphics card. The GPU still competes with the CPU for the same capacity and bandwidth, however.

Sharing memory between CPU and GPU is not unique to Apple; integrated graphics in PCs and game consoles have done it for years. The differences lie in bandwidth, how memory is partitioned and how much of it the GPU may use.

DesignMemory locationGPU accessMain trade-off
Apple unified memoryIn the chip packageShared, dynamically allocatedHigh efficiency, no upgrades
PC integrated graphicsMotherboard modules or solderedShared, sometimes reserved at bootLower bandwidth, upgradeable on some systems
Discrete GPUDedicated VRAM on the cardSeparate poolHighest bandwidth, copying overhead, limited capacity
Game console shared memorySoldered GDDR on the boardShared, high bandwidthFixed platform, higher latency for CPU tasks
Unified memory architecture versus other memory designs

Choosing a memory configuration

Since unified memory is soldered into the package, the configuration chosen at purchase lasts for the life of the Mac. When memory runs short, macOS first compresses inactive pages and then swaps to the SSD; the system remains usable, but sustained swapping slows work and adds SSD wear.

Use profileSuggested minimumReason
Browsing, documents, light photo work16 GBLeaves headroom for future macOS versions
Software development with containers24-32 GBVirtual machines and build tools reserve memory
Professional video and 3D work32-64 GBGPU textures and frame buffers share the pool
Running large local language models64 GB or moreModel weights must fit in shared memory
Practical memory sizing for unified memory

Activity Monitor’s Memory Pressure graph is a better indicator of a shortage than the amount of memory used, because macOS deliberately fills free memory with caches.

Limitations and misconceptions

  • Unified memory is not magically larger; 8 GB holds the same data as 8 GB elsewhere, although efficient compression and fewer copies help.
  • No later upgrade is possible, so underbuying memory is the most common long-term regret.
  • Bandwidth is shared: a heavy GPU workload can reduce memory bandwidth available to the CPU.
  • Not all memory goes to the GPU by default; macOS keeps a portion for the system, and the limit depends on total capacity.
  • Software written for discrete GPUs may still perform unnecessary copies unless ported to Metal and adapted to the shared model.

A non-technical view

Imagine a kitchen where the chef and the baker each had their own pantry. Every time the baker needed flour from the chef’s pantry, someone had to carry it across the room. Unified memory architecture puts one large shared pantry in the middle, so both can reach the same ingredients at once.

The result is less carrying and faster work. The catch is that the pantry is built into the kitchen walls: its size is chosen once and cannot be enlarged later.

A concrete example

A researcher wants to run an open language model with about 30 billion parameters locally for privacy reasons. Quantized to roughly four bits per weight, the model needs around 18-20 GB of memory before accounting for context and the rest of the system, which is more than many consumer graphics cards provide.

On a Mac with an M-series Max chip and 64 GB of unified memory, the model loads entirely into shared memory and the GPU processes it without transfers across a bus. The researcher gets interactive response speeds on a laptop, while a desktop with a 12 GB graphics card would have to split the model between GPU and system memory and run far more slowly.