Shared GPU Memory Maxed Out

Anyone know what would cause the editor to suddenly start using 100% Shared GPU Memory which causes everything to crash? This is with an RTX 5090 but it happened on my 4090 previously too. I’ll get error messages after the crash about it being out of video memory but it’s actually the Shared GPU Memory that is maxing out.

It seems to happen completely randomly, sometimes after 30 minutes of a project being open, other times after a few hours. Even when completely idle or minimized. It will start off with 0% Shared GPU Memory being used to suddenly out of nowhere it jumps up to 99% being used while Dedicated GPU Memory (VRAM) is still around 50-60%. No idea what causes the sudden jump but it’s making me go insane. I’ve tried everything at this point to no avail.

I’m on UE 5.5.3 I’ve tried tracking it with insights, crash logs, etc none of it makes any sense. I can’t seem to get any help with this issue anywhere else either. This should not be happening. Even just opening the project and doing absolutely nothing will still cause the crash after some time. Somebody has to know how to fix this

1 Like

I don’t think the windows task manager really knows anything about what’s happening in the editor.

It sounds like you’re just maxing out your GPU memory.

I would take a look at two things

  1. Right click on the level you’re using in the asset browser, and take a look at ‘size map’, which will tell you what’s using all the memory.

  2. While the level is loaded, try

and reverse sort by size

  1. If you’re using world partition, or some sort of dynamic level loading, try hitting F8 while playing the level and then try the resource viewer.

The thing is there’s no reason the GPU memory should be maxed out suddenly. And with the Unreal crash logs stating the same thing that windows task manager shows I think they’re related.

I’ve tried the Render Resource Viewer that you showed and it looks exactly like yours, nothing out of the ordinary. Even when the shared GPU memory is at 99%.

The size map looks pretty normal too. The crash happens on any level even just the blank third person character map. I’m also not using world partition

1 Like

Ah, that’s different :thinking:

Have you tried ‘studio’ drivers? Latest drivers etc?

Yup I’m on the latest studio drivers. Should I switch batch to game drivers?

1 Like

It’s worth trying ‘game’.

Also maybe try disabling virtual textures, if you’re not using it.

Not using virtual textures. I was thinking about enabling them though since someone else mentioned that it fixed their crashes

1 Like

Ok, I’m just posting ‘stuff I found’ which looks possible now…

A small list will appear here;

  1. Try resetting everything in the Nvidia control panel to default, especially 3D settings

  1. Remove Gforce ( only use the drivers )

  2. Update your BIOS

  3. Talking of 4, I’m starting to see a common theme related to the interaction between 4090/5090 and the BIOS / CPU

Hope something here helps… :rofl:

I’ve done all those things already. Really don’t know what else to do. Also the link you provided doesn’t really apply because I’m using an AMD CPU and not Intel

1 Like

Hmm, I’m out of ideas, I’m afraid… :frowning:

Lucky me I guess. I did notice that the crashes seem to happen mostly when Unreal in minimized such as when I take a break and walk away from the computer or am watching a youtube video or something. By the time I come back UE has crashed with the out of video memory message.

1 Like

That’s interesting…