# uE5 Video memory has been exhausted

**URL:** <https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, Performance, UE5-0, bug-problem, memory, question\
**Created:** [August 24, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946 "2021-08-24T17:22:24Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanonansy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nanonansy/32/1013793_2.png) [@nanonansy](https://forums.unrealengine.com/u/nanonansy)\
**Post date:** [August 24, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/1 "2021-08-24T17:22:24Z")

</div>

Is this a bug?

I have been working in UE5 for a few months building an environment… recently this error message pops up on my screen and says:

Video Memory Exhausted (#### MB over budget). Expect extremely poor performance.

fps is still relatively good, 50fps. I can still move around the environment with ease and no lag.

It seems no amount of performance optimization is actually making this go away.

It’s very annoying to look at.

![347185-videomemoryexhausted.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/9/0c9c08ed995b43a6c1a859470258bc9c22c73944.png)

---

<div class="post-metadata">

**Author:** ![Park4BmxXx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/park4bmxxx/32/480811_2.png) [@Park4BmxXx](https://forums.unrealengine.com/u/Park4BmxXx)\
**Post date:** [June 6, 2022, 11:43pm UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/2 "2022-06-06T23:43:55Z")

</div>

> [@nanonansy](#):
>
> performance

happened to me also, running Vega 64 with 14GB mem…  
cant get it to go away, project was running fine. now is all lagy

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [December 18, 2022, 4:59am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/3 "2022-12-18T04:59:53Z")

</div>

Any update ? I’m having this kind of issue too on UE5.0.3. My card has 8GB and they get filled extremely fast (chercked in system monitor). I’ve tried lower textures resolution, changing LODs… Even without a single Particle System or 4K texture on screen, it gets bloated !  
Does anyone know a way to find what is doing it ?

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [December 18, 2022, 5:39am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/4 "2022-12-18T05:39:31Z")

</div>

I found setting the scalability down to “Medium” or lower helps quite a bit - I hardly see that error now…

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [December 22, 2022, 3:46am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/5 "2022-12-22T03:46:21Z")

</div>

It deactivates Lumen.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [December 22, 2022, 4:21am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/6 "2022-12-22T04:21:34Z")

</div>

Hey there @Jau_Studio! Just to check, is your landscape being considered for HLOD’s? It can cause massive memory bloat nearly instantaneously.

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [January 3, 2023, 5:30am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/7 "2023-01-03T05:30:16Z")

</div>

Hey,  
No and some day ago, I even with an empty landscape (tried an empty “open world” map), it told me the streaming pool was full lol.  
I lowered the resolutions of all my non-albedo textures and it’s no longer using all VRAM but it’s close and still filling the default streaming pool. Definitely an Editor issue since the game doesn’t have this issue once packaged.

---

<div class="post-metadata">

**Author:** ![RCE\_WillPimentel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rce_willpimentel/32/960936_2.png) [@RCE\_WillPimentel](https://forums.unrealengine.com/u/RCE_WillPimentel)\
**Post date:** [January 3, 2023, 5:41am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/8 "2023-01-03T05:41:17Z")

</div>

Very odd. I’m running integrated graphics on my Ryzen 7 Mobile and I’ve never, ever seen that before. (I’ve seen texture streaming issues but not that.) Just gonna throw my two cents in, assuming it could be helpful.

There should be a command to suppress all screen messages. I think it’s `DisableAllScreenMessages` or something. Wouldn’t be a permanent fix though (considering you’d have to re-execute it every time you load the Editor and that it might have other dumb side effects), but there might be a config in one of the Default[Something].ini files that can override the default allocated VRAM kind of like the Texture Streaming issues?

If it’s still running fine even with that message I’m guessing it’s a config value that was messed up for some reason but I know next to nothing about the config files…

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 6, 2023, 9:31am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/9 "2023-01-06T09:31:02Z")

</div>

Hrm, this is a bit odd. Are you using nanite for landscape(beta) as well? Could you take a quick look at this thread? Might help get you a bit more overhead if you can’t resolve the streaming pains.

> [@How to Improve Texture Streaming GPU performance in UE5 over 20% increase on GPU memory \[Solved\]](https://forums.unrealengine.com/t/how-to-improve-texture-streaming-gpu-performance-in-ue5-over-20-increase-on-gpu-memory-solved/267023):
>
> In my research into Windows TextureStreaming and Visual Studio 2022 17.1 performance. I have found that adding setting in the config file D:\Program Files\Epic Games\UE\_5.0EA\Engine\Config\Windows\ WindowsEngine.ini The following lines contained [TextureStreaming] ; PoolSizeVRAMPercentage is how much percentage of GPU Dedicated ;VRAM should be used as a TexturePool cache for streaming textures (0 - unlimited streaming) PoolSizeVRAMPercentage=70 When looking at the GPU Performance in Wind…

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [February 1, 2023, 7:31pm UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/10 "2023-02-01T19:31:39Z")

</div>

I kind of improved the situation by lowering the reflections resolution and removing any shadow from foliage. I’m using the foliage components to spawn hidden imposter shadow casters that use really static (no offset) materials, so no shadowmap regeneration. It seems to have improved the situation, even if sometimes, UE5 decides to bloat in the VRAM. Some days ago, it even told me I exceeded the budget in an empty blank map lol.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 2, 2023, 4:20am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/11 "2023-02-02T04:20:21Z")

</div>

In a blank map? Did the profiler point out what’s pulling the most?

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [February 17, 2023, 7:28pm UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/12 "2023-02-17T19:28:47Z")

</div>

It seems to be better now that I lowered reflections resolution for the project. Also, in maps, not using a skylight (here, cheating with a prost-process that adds some color when final image is black at night) frees a lot of memory.  
Lumen is sometimes a bit weird. Especially used with Nanite. The memory usage sometimes go crazy and you have to restart UE5.1.1 (version I’m using now but was the same since 5.0) to free it.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 18, 2023, 4:35am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/13 "2023-02-18T04:35:31Z")

</div>

Does this memory drop occur in builds as well? There’s been reports of memory spikes with HLODs and landscapes, as well as heavy Nanite + Lumen scenes but all I’ve seen is in editor (which is an inherent data bias because everyone here is a developer but not everyone build tests regularly).

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [April 1, 2023, 12:57am UTC](https://forums.unrealengine.com/t/ue5-video-memory-has-been-exhausted/487946/14 "2023-04-01T00:57:10Z")

</div>

No memory issues in my builds. Just performances issues if I use Nanite on foliage and | or grass. If bushes and trees are not dense enough : forget about it.
