GPU out of memory crash, plenty of ram available

So im Running UE5.4 and getting the error where im running out of video card memory but there is plenty of it left.
For my Memory i have spent 120g virtual memory but the problem didn’t get solved and also it seems like unreal is using Shared GPU-Memory instead of Dedicated GPU-Memory so its taking long time and the gets the Error.
and im also running the Latest Studio driver.
Cpu: Ryzen 5 4650g pro
Ram: 32G 3200
Gpu: RTX 3090

So ive seen this before, are you on direct x 11 or 12? check to see what version your launching/ running on. then adjust, hope that helps.

If youre talking about Default RHI, its DirectX12 on unreal engine setting

Swap to direct x11 let me know if your good then

I changed to DirectX11 but it didnt solve the problem but i find a way to load the landscape with material without crashing unrealengine.
you just have to insert the material when youre importing the landscape so it wont crash