Unreal Crashes when importing HDR file into content browser "Out of video Memory trying..."

Hi, I keep getting this crash when trying to import HDR textures into the content browser:

Out of video memory trying to allocate a rendering resource. Make sure your video card has the minimum required memory, try lowering the resolution and/or closing other applications that are running. Exiting…

Ive checked over the memory usage of my Nvidia 3090 and it’s using roughly 8gb out of 24gb. My system has 128gb and im roughly using 25gb. So I know its not a memory issue. I have my page file set to automatic but as im no where near the memory limit I can’t see this being an issue. Seems to be a bug with Unreal in some capacity. The HDR file is from HDR Haven and is around 170mb. Im using the Architectural template. Seems its a bug with the way Unreal is handling memory in Windows. Any pointers to get this fixed would be great.

if you suspect windows, you could try increasing your virtual memory.

In settings, System, About, Advanced System Settings, System Properties: Advanced, Performance settings, Performance options: Advanced, Virtual Memory: Change.

And choose a large enough allocation, I set mine to 50gb on an HDD and it runs beautifully.

Hi SpectreKelevra, so I tried setting the page file to 50gs and then 100, and still get the same crash. The drive my page file is on has around 500gb space and is not running out of space. It seems its when it’s compiling the hdr texture in Unreal, it never gets to the point where it creates a thumbnail and crashes just before. Normally around 30-45 after dragging the file in.

How are both your GPUs at 0%?

It had already crashed at this point, so there was no real-time load on the GPU. It still showed the mem usage though as was still loaded in memory.

I have got exactly the same problem as described above …
Running the newest Unreal build, todays Nvidia studio update installed on a RTX4090 and it crashes every time with every HDR file I try to drop in the content browser … always during the “preparing File” sequence …
Please help us :slight_smile:

1 Like

Ok after some testing I noticed that the engine only crashes when the HDR picture size exceeds 10K … since the HDRI Backdrop actor reduced the image file to 8K anyway, I’ll just settle with importing 8K HDR files to unreal.
Since most of my HDR files are from HDRI Haven and downloaded in 16K, I’ll guess I’ll download them again in 8K or manually reducing the size in any image manipulation program.
:man_shrugging:t2:

1 Like

Hi CARUS08, great work finding out the issue, and thanks for letting me know. :+1: