Buying RAM

How much RAM do you need for Unreal Engine 5 game development?

32GB is the realistic starting point for Unreal Engine 5, and it's what Epic recommends. Go to 64GB if you build the engine from source, cook and package large projects, bake lighting, or have a CPU with lots of cores. 16GB will open the editor and run small learning projects, but shader compiles and packaging will push it into the page file.

What does Epic actually recommend?

Epic's hardware page for Unreal Engine 5 (the current docs cover version 5.9) lists 32GB of RAM as the recommended amount, alongside a quad-core 2.5GHz CPU and a DirectX 12 graphics card with 8GB or more of video memory. It doesn't give a minimum RAM figure at all.

The same page describes the workstation Epic uses for its own performance notes: a Threadripper PRO 7985WX with 256GB of DDR5 ECC server memory. That's a studio machine compiling the whole engine, not a target for you, but it shows where the ceiling is.

Puget Systems, which builds workstations for game studios, gives the same baseline: 32GB for most users and 64GB or more if you bake lighting that takes more than a few hours. Puget points out that its numbers cover the Unreal Editor alone. Your IDE, browser, Discord, Blender or Substance running next to it all need their own share.

Why does Unreal use so much memory?

The editor itself is only part of it. Several things pile up at once:

  • The open level and its assets. Nanite meshes, high-resolution textures and big World Partition maps all live in memory while you work. A small template project and a large open world are very different loads.
  • Shader compile workers. When you open a project for the first time, change a material or switch rendering settings, Unreal starts a swarm of ShaderCompileWorker processes, roughly one per CPU thread. Each one uses its own chunk of RAM, so they add up quickly.
  • C++ compiles. UnrealBuildTool runs many compiler processes in parallel, again scaled to your core count, and Unreal's large combined "unity" source files make each one fairly heavy.
  • Cooking and packaging. Turning a project into a playable build loads and processes every asset. One developer on the Unreal forums found a UE 5.3 cook ran out of memory on a 32GB build server and came within a few gigabytes of filling a 64GB machine. The same project's UE4 cook had topped out around 24GB.

The common thread is that memory use climbs during the heavy moments, not while you're just moving actors around.

How much RAM for each kind of Unreal work?

What you're doing RAM that works
Learning, Blueprints, templates and small projects 16GB works, 32GB is comfortable
Indie project, C++ with Visual Studio or Rider 32GB
Large levels, World Partition, lots of Nanite and high-res textures 64GB
Building the engine from source on a 12- to 16-core CPU 64GB
Long lighting builds, big cooks, or running a build server 64GB to 128GB
Virtual production, film-quality scenes, 24+ core workstations 128GB and up

These are practical ranges based on Epic's and Puget's advice and on what developers report, not hard rules. Your project matters more than the table: a stylized mobile game needs far less than a photoreal open world.

Why do more CPU cores mean you need more RAM?

Because Unreal's heaviest jobs scale with your thread count. Shader compiling starts a worker for each spare thread, and UnrealBuildTool runs a compile process for each one too. A 16-core, 32-thread CPU can run close to 30 of these at once, each wanting memory.

That's why a fast CPU paired with too little RAM can feel slower than a modest one. Once memory runs out, Windows starts swapping to the SSD, and everything crawls. Epic calls 12 to 16 cores a practical baseline for compiling locally. If you have that many, plan on 64GB.

The same forum thread shows the opposite end: a developer on a quad-core Linux PC with 8GB found that just three shader workers filled the RAM and froze the system.

Can you get by with 16GB?

Yes, for learning and small projects, with some patience. The pain points are predictable: the first time you open a project, after engine upgrades, and when packaging. A few things help:

  • Limit shader workers. In BaseEngine.ini, under [DevOptions.Shaders], the NumUnusedShaderCompilingThreads setting (3 by default) tells Unreal how many threads to leave free. Raising it means fewer workers and less memory in use at once. You can usually override it in your project's DefaultEngine.ini instead of editing the engine's own file.
  • Limit compile processes. UnrealBuildTool reads a BuildConfiguration.xml file, and the MaxProcessorCount setting in its ParallelExecutor section caps how many compile jobs run in parallel.
  • Keep a page file on a fast SSD. Don't turn it off to "save" memory. It's what stops a compile from crashing when RAM runs short.
  • Close the browser during cooks and shader compiles. It sounds obvious, but a few dozen tabs can take several gigabytes. Our guide on making 16GB go further covers the rest.

Fewer workers means longer waits, so these are workarounds, not fixes. If you're spending real time on Unreal, 32GB is the upgrade that makes the biggest day-to-day difference.

Does RAM speed matter for Unreal Engine?

Much less than capacity. Compiling code and shaders is mostly limited by the CPU, and running out of memory costs far more time than a slower kit ever will. On a big project, a 64GB kit at DDR5-5600 is a better buy than a 32GB kit at DDR5-7200.

On Ryzen 7000/9000 and Intel Core Ultra, a standard DDR5-6000 kit is a sensible target. Our guide on why DDR5-6000 is the sweet spot explains why. Stick to two sticks if you can: 2x32GB for 64GB, or 2x48GB for 96GB. Four DDR5 sticks usually force lower speeds, which we explain in 2 sticks vs 4 sticks. For the in-between sizes, see our guide on 48GB and 96GB kits.

Do you need ECC memory?

Not for a typical indie or hobby setup. Epic's own reference machine uses ECC server memory because it's a Threadripper PRO workstation that takes that kind of memory anyway. On a normal desktop, an unstable overclock is a much more common cause of crashes during long compiles than a random memory error.

If you do run long unattended builds, turn off any manual RAM overclock and test your memory once with our MemTest86 and TestMem5 guide. Our ECC vs non-ECC guide covers when ECC is worth it.

What about laptops?

Many laptops now have soldered memory, so the amount you buy is the amount you keep. For Unreal work on a laptop, 32GB is the minimum worth buying, and 64GB is worth paying for if it's offered. Our laptop RAM guide explains how to tell what you can upgrade later.

If Unreal is one of several tools you use, our guides on RAM for programming and RAM for Blender cover the other pieces of a game-dev setup.

The short version

  • 32GB is Epic's recommendation and the right starting point for most UE5 developers.
  • Get 64GB if you compile from source, cook large projects, bake lighting, or have a 12-core or bigger CPU.
  • 16GB works for learning, but cap shader workers and compile jobs so builds don't run you out of memory.
  • Capacity matters far more than speed: buy two sticks at DDR5-6000 and spend the rest on gigabytes.
  • Keep the page file on, and leave RAM at stock settings for long unattended builds.

Sources