UE5 using all VRAM after interacting with ui

Hi,
I have a weird problem with UE5 [5.5.0, had same problem with 5.4] that is sometimes completely randomly causing the engine to use as much VRAM as its possible (It uses all dedicated VRAM and starts using from the shared pool). It doesn’t raise the usage gradually but it just spikes up to full usage. And it’s completely random - sometimes I get this problem right after launching the engine and I have to restart it few times until it stops doing that, sometimes I can work for 5 hours before it just randomly spikes up, and sometimes it doesn’t do it for 2 days and then it randomly comes back.

Every time when the problem occurs the UI starts flickering.
Sometimes when I launch the engine everything is fine until I interact with the UI in any way (clicking on anything other than viewport).

Every other app / game works fine so I doubt that it has anything to do with my GPU / Memory.

PC Specs:
Ryzen 7 5800X3D
32GB 3000MHz DDR4
RTX 3080 10GB [Newest GameReady drivers]
Windows 11
UE5 sits on system drive [SSD]

Please help

Greetings @CanYouJustDiePlz!

Considering your issue has a random nature, the best course of action is to wait for one of those instances of high VRAM use, then use the Render Resource Viewer tool in Engine to check exactly what’s causing the spike. You can find details on how to work with this feature here:

Besides that, I would suggest switching from GameReady drivers to Studio drivers, as these have more stable settings for engine work.

Getting this same issue. My build is a Ryzen 7800X3D and 4080 super. I attempted switching to studio drivers which got me nowhere. It seems like whenever I hover over a button the screen flashes and I get a spike in VRAM usage. Every other program has worked perfectly, 20+ games tested, except Cinebench oddly enough, where I see the same issue.

Hi there @maxsaranac0531 Welcome to the forum! Is this happening on one specific project or anything you try to open in UE?