Skip to main content
Rendering Settings

RAM and VRAM

What to do when a render freezes or crashes, what uses graphics and system memory, how to free it, and what affects render speed.

Last updated About 4 hours ago

If a Render Freezes, Crashes or Slows Down

A freeze, driver reset or crash at the start of a large render usually means the graphics card ran out of memory, not that the plugin failed. Renders also slow down sharply when they run out of graphics memory. Try these in order:

  1. Close everything that uses graphics memory, then close and reopen Unreal before you start the render. This flushes graphics memory, and can greatly increase your render speed and the largest resolution you can render:

    1. Close your Unreal Viewport (don't pause it, fully close it).

    2. Pause the Render Target of your OWL 360 Camera/ Component.

    3. Save your project, then close and reopen Unreal.

    4. Open Movie Render Queue and start your render.

  2. Add Tiles under High Resolution Renders, or use Generate Jobs instead of a direct render. Smaller jobs fit the card and are often faster. See High Resolution Renders and Generate Jobs.

  3. Set anti-aliasing to None and use samples instead: TSR uses the most memory at high resolution. See Anti-Aliasing.

  4. Set Face Size back to Automatic.

  5. Tick Disable Parallel Rendering (Rendering & Writing; needs a Pro license, or adds a watermark). It renders each frame's camera views one after another, which lowers peak graphics memory, so one machine can render a larger image, but each frame takes longer. See Rendering & Writing.

  6. Close the editor and render from the command line. See Render on Another Machine or a Farm.

How Memory Is Used

A render uses two kinds of memory:

  • Graphics memory (VRAM) is on the graphics card. It holds what is being drawn, it is built for very fast access, and it is usually what runs out first.

  • System memory (RAM) is connected to the processor. It holds the level and assets before they go to the graphics card, and the editor itself, and is much slower at moving graphics data.

  • If a render needs more graphics memory than your card has, some of the data moves to system memory or even your storage drive. The render then slows down sharply, stutters or crashes.

  • Movie Render Queue and Movie Render Graph can need much more memory than real-time play or the Viewport, because they render high quality final frames.

What Uses Graphics Memory

During a render, Unreal loads everything a frame needs into graphics memory, so the graphics card can reach it quickly:

  • Textures: high-resolution textures, especially for materials and landscapes, are a major user of graphics memory.

  • Geometry and meshes: the data for 3D models and their polygons.

  • Lighting and shadows: dynamic lighting, Lumen and Virtual Shadow Maps take up a lot of memory.

  • Post-processing effects: ambient occlusion, bloom and other screen-space effects.

  • Frame buffers: the images being rendered, including the final frame.

  • Path tracing: the path tracer runs on the graphics card and needs one with hardware ray tracing, so it uses graphics memory, and more at higher render resolutions.

  • Extra outputs: each Post Process Material or Stencil Clip Layer output counts as another render held in memory, so it can have a large graphics memory cost.

The more complex and detailed your scene, the more graphics memory it needs, especially with Nanite, Lumen and high-resolution assets.

Render Size and Graphics Memory

  • Unreal has a ceiling of about 8K x 8K, depending on your graphics card, before you are likely to get graphics memory crashes.

  • For higher resolutions (12K, 16K, 32K and so on), use High Resolution Renders to split the render into tiles. Sizes above 8192 x 4096 need a Pro license, or add a watermark.

  • With ODS projections the ceiling is lower, so High Resolution Renders has Panes Per Job to split an ODS render across jobs without tiling.

  • Smaller jobs use less memory but take longer overall, because each job takes time to start. Use the fewest tiles that fit in your graphics memory.

Free Graphics Memory

  • Optimize textures: use texture resolutions that suit their purpose. A texture on a distant object doesn't need to be 4K.

  • Lower the Cinematic scalability values: Movie Render Queue and Movie Render Graph renders use the Cinematic scalability level by default, so to reduce graphics memory, lower the Cinematic values in your project's scalability settings.

  • Use the Render Resource Viewer: open it from the Tools menu to see what is using the most graphics memory in your project.

  • Close what else uses graphics memory: the Viewport and live Render Targets, then reopen Unreal before the render (see the first section).

What Uses System Memory

System memory is usually less of a limit than graphics memory, but a render still needs plenty of it:

  • Loading assets: before a frame is rendered, the processor loads every asset it needs, such as large landscapes, Nanite meshes, high-resolution textures and complex characters, from storage into system memory. The graphics card then takes what it needs into graphics memory.

  • Scene data: the positions of all actors, lighting information and physics simulations.

  • The editor: the Unreal editor itself needs a lot of system memory, and this adds to the total during a render. With the editor open, it competes with the render for memory.

  • Post-processing: some post-processing effects and render passes run on the processor and use system memory for temporary storage and calculations.

Free System Memory

  • Render with the editor closed: starting a render from the command line without the editor open can free a lot of memory. See Render on Another Machine or a Farm.

  • Split large renders: High Resolution Renders breaks the image into smaller jobs, reducing the memory used at any one moment.

  • Remove Deferred Rendering from 360 jobs: if every frame also writes a flat image such as FinalImage, remove Unreal's Deferred Rendering setting from the job. OWL renders the 360 image itself, and the extra render only adds time and memory. Generate Jobs does this for you; on a direct render, remove it by hand (the job warns you).

  • Optimize your scene: reducing polygon counts on distant objects or compressing textures reduces the overall memory used.

  • Add system memory: high-end cinematic renders of complex scenes need plenty of system memory.

Render Speed

  • The OWL 180 / 360 Renderer is much faster than Unreal's panoramic renderer, with much higher quality results.

  • Renders slow down sharply when they run out of graphics memory, so flush it before you render (see the first section). Rendering headless from the command line gives a similar gain.

  • High resolution rendering with tiles isn't necessarily slower than rendering to a single texture, because each tile needs less graphics memory.

  • If your processor is more powerful than your graphics card, tiling may be faster: the processor stitches the tiles efficiently, and each tile leaves the graphics card more headroom.

  • In Lumen renders, speed is a balance of level optimization (to reduce graphics memory), anti-aliasing samples and upscaling. Unnecessary anti-aliasing samples can massively increase render times: see Temporal and Spatial Samples.

  • Upscaling (TSR or DLSS) renders Lumen faster, but use it for previews and drafts rather than final renders.

  • In path-traced renders, speed is a balance of light samples and the denoiser: use the lowest number of samples the denoiser can clean up to the quality you need.

  • Some path-traced lighting, such as Reference Atmosphere, has a strong visual effect but a very large render time cost, so choose it carefully.

Hardware

  • More graphics memory gives you more capacity, but won't necessarily make renders faster. For example, an NVIDIA 5090 normally renders faster than an RTX 6000, because of other optimizations for games content.

  • A suggested local machine: an NVIDIA 5090 graphics card, an AMD 9950X3D processor and 96 GB of DDR5 AMD EXPO compatible RAM above 5600 MHz (2 sticks), with other components of comparable performance.

Live Cameras

This article is about renders. For the live 360 Camera's frame rate, scalability and upscaling, see Live Frame Rate.