# Texture Streaming Off, Memory increase between levels

**URL:** <https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [April 14, 2025, 11:57am UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209 "2025-04-14T11:57:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreiGoaga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AndreiGoaga](https://forums.unrealengine.com/u/AndreiGoaga)\
**Post date:** [April 14, 2025, 11:57am UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209/1 "2025-04-14T11:57:16Z")

</div>

Hello. I am using r.TextureStreaming 0 in my project settings and I am noticing that the VRAM is not emptied between level changes.  
For example I had a Main map filled with other sublevels and 30+ different MH.  
That amounts to 30GB of VRAM used.  
When I click on a New Level and switch to an empty level, the Texture2D usage remains the same in the empty level.  
If I restart the project in the empty level and go to another level, Texture 2D is 13GB from that map. But if I open the “Main” map before and Texture2D goes to 30GB, than it remains like this for the rest of the maps opened, it only goes up by loading new assets in VRAM.  
If I work with Texture Streaming 1 in the Editor, than I don’t notice this VRAM build-up.  
BUT I am always rendering with Texture Streaming 0. So If I hit render just once, and than go back to my editor, things start to behave as bad as it was with streaming 0 from the start because it comes back from the render with 0 streaming and loads all the texture in VRAM and than it does not empty them even if I switch streaming 1 again.  
I am using 5.3.2. Seems to be the same in 5.5.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2025, 12:03pm UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209/2 "2025-04-14T12:03:54Z")

</div>

The VRAM doesn’t get flushed in editor. I haven’t found a way to do it.

It does get purged in a packaged game. Possibly also standalone, not sure about that…

---

<div class="post-metadata">

**Author:** ![AndreiGoaga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AndreiGoaga](https://forums.unrealengine.com/u/AndreiGoaga)\
**Post date:** [April 14, 2025, 12:57pm UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209/3 "2025-04-14T12:57:35Z")

</div>

Thank you. That is a very weird behavior. I am using UE for high end rendered cinematics so I am only using it in editor.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2025, 1:00pm UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209/4 "2025-04-14T13:00:46Z")

</div>

I agree, it would be nice to have a flush buffer button. There might be a cvar, but I can’t find it. I assume it’s possible to do in CPP.

---

<div class="post-metadata">

**Author:** ![AndreiGoaga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AndreiGoaga](https://forums.unrealengine.com/u/AndreiGoaga)\
**Post date:** [April 15, 2025, 7:28am UTC](https://forums.unrealengine.com/t/texture-streaming-off-memory-increase-between-levels/2456209/5 "2025-04-15T07:28:16Z")

</div>

Shout out to @mihneabalta for guiding me in tracing where the issue lies:

obj refs name=/Game/MetaHumans/C1Healed01/BP\_C1Healed01.BP\_C1Healed01  
LogReferenceChain: Display: InitialGather memory usage: 14.16  
LogReferenceChain: (standalone) Blueprint /Game/MetaHumans/C1Healed01/BP\_C1Healed01.BP\_C1Healed01 is not currently reachable but it does have some of GARBAGE\_COLLECTION\_KEEPFLAGS set.

It seems that the MH blueprints are set-up to never be garbage collected - GARBAGE\_COLLECTION\_KEEPFLAGS set

Still investigating if there is a work-around.
