Refresh Texture Streaming Pool Without Restart? (r.Streaming.PoolSize Improvement)

Hello, all,

So, Unreal has this nasty habit (actually it’s quite helpful, but I want cake and to eat it too) of caching viewed textures. So, the longer your project is open, the more VRAM Unreal uses, because it keeps “remembering” which textures you displayed on screen.

Is there any way (maybe a console command?) that can instruct Unreal to reset the texture streaming? The only way I can get this effect is by hard-restarting the application.

Otherwise I have to look at compressed textures and it becomes hard to work efficiently at that point.

2 Likes

BUMP

1 Like

(NOTE: If you do this, you will NEVER need to do the r.Streaming.PoolSize console command again ← unless your scene is ridiculous. Doing the aforementioned command just allows Unreal to take up more memory, instead of dumping the unused memory it’s already ransoming [HOLDING HOSTAGE].)

Okay, so it seems to be a combination of three console commands. I reiterate: You MUST do all 3.

And then, you need to zoom in/out of a texture/mesh in a level or editor to force the refresh.

Don’t ask me why; I’m not a scientist.

(Board-certified, anyway.)

Console Commands:

gc

r.Streaming.FullyLoadUsedTextures 0

r.Streaming.FullyLoadUsedTextures 1

1 Like

Fantastic! I agree, it should be possible to force the editor to clean up like a packaged game, without having to restart :smiley: