Unreal consumes all RAM when monitors power down

I am new to Unreal, falling out from Unity as I am sure most new people are. I have a strange problem where my monitors power off when I go to bed. When I wake up, Unreal has consumed all RAM. After quite some time of the monitors being back on, RAM eventually releases. I was able to capture both states with screenshots.


Then after quite some time:

Anyone have an idea of what is going on here?

Possibly related, my post:

[UE5.2, Bug report] Editor crash when PC is idle for a while. Out of memory.

I’m on 5.0.3 and it happen aswell, sometimes even after 10 minutes idling, but i have several DefaulEngine.ini scattered in many folders, and i don’t know wich one to pick, since none have a rendering section.