Unreal crashes with "Out of video memory trying to allocate a rendering resource. Make sure your video card has the minimum required memory, try lowering the resolution and/or closing other applications that are running. " Error

Summary

Unreal crashes whenever opening this one project. Any other one works fine. It wasn’t happening until my colleague did some texture work on my zipped project and she started getting this crash error. Once she sent the zip back to me, I started getting the same crashes. She tried reinstalling drivers, closing other apps, etc. Followed like 10 yt tutotials. We’re pretty desperate because we’re on a tight deadline and really can’t afford to lose so much time. Is this even fixable?

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Memory

Steps to Reproduce

Idk, we just created a project with basic programming of a rotating camera, added a bunch of in-house assets and did some simple texturing with basic pbr materials.

Expected Result

Unreal lets us use our project

Observed Result

Unreal starts up, we can see our scene but 1 second later crash prompts up and unables us to continue

Platform(s)

PC, Windows 10 (and 11)

Upload an image

Also happens to me, it seems to occur while UEFN and Fortnite are minimized for a period of time.

@saxmissmas @JayC198 Sorry to hear you’re having this issue. This can be a really annoying issue to work around. I am going to help under the assumption that you are both using the default engine. If you are using custom Cpp code, then this is likely due to a memory leak and I would talk to your engineers about hunting that down.

So, onto the actual help.

As it states, this problem happens when your VRAM runs out of memory to allocate to rendering assets, leading to a crash.

Make sure you are using the minimum required specs to work in Unreal Engine, which means a GPU with at least 8GB of dedicated VRAM.

@saxmissmas, given the problem you are describing, it sounds to me like your texture memory pool is too high or set to unlimited. Unreal has a system in place to prevent textures from eating all of your VRAM, but if texture changes are what caused this issue, seems like the streaming pool isn’t doing it’s job. Try using the command r.Streaming.PoolSize 1000 to force the pool back to a normal amount. If this limit is too low and you are no longer having this crash, you can consider raising the limit.

If this does not solve your issue, you are going to need to make some visual sacrifices to free up space on the VRAM- such as lowering the overall screen resolution or reducing your tri counts/increasing LOD intensity.

If you are in a pinch, you can also try brute-forcing the size of your computer’s VRAM allocation:

Good luck! Let me know if this works.