Diablo IV has run out of memory

Direct Storage is more often blocked by driver incompatibility or AntiVirus programs.

I know Malware Bytes supports direct storage.

Use windows+G and go into the settings. Under the gaming features menu it will give you the reason for direct storage not being enabled.

I have checked that in the past, and checked it again. Says its supported on the GPU and the drive the game is installed to.

Which is the same thing it has always said. lol

Yet the game says its disabled in the log. Again, I really donā€™t care, the game plays fine regardless.

For people still getting out of memory errors, if you have an nvidia gpu, check the nvidia control panel under manage 3D settings for the CUDA SysMem Fallback Policy and make sure itā€™s set properly. Thereā€™s a brief description on which settings cause the VRAM to run out and cause issues in games.

It needs to be set to ā€œDefaultā€. if its set to prefer no sysmem fallback, it will cause issues with this game. You can also use prefer sysmem fallback, however that is not needed for everything.

Technically, its not the VRAM thatā€™s the problem. Its the cardā€™s memory, or rather a feature that will allow data in the GPU ram to be offloaded to system memory as needed, which may include using Virtual memory, which may also include the swap file in part with that.

And since this game is a resource hog, its pretty much needed to ensure you donā€™t run out of memory and crash.

Correct - Iā€™m not sure why that setting would be anything other than default, but for the people having the memory errors, itā€™s worth checking.

1 Like

I was thinking about why this setting would be anything other than default and noticed itā€™s ā€˜Driver Defaultā€™ which would be controlled by Nvidia - So who knows what they have it set to as their driver default?

Their default enables this automatically. They recommend that method, and warn that turning it off can cause potential issues, right in the option description.

Generally, they are going to by default, use the choice that causes the least issue.

Thatā€™s definitely how it should work, but considering the wording of Driver Default, thereā€™s always the possibility that the driver has a bug.

Speaking of bugged nvidia drivers, I see they just pushed out an update due to mismatched dll files.

Probably about time they fixed that issue.

1 Like

I still get the out of memory crash when trying to get to the character screen and other locations. I played the game the first season just fine. But now I canā€™t play at all. When are they going to fix this. I payed decent money for this game and havenā€™t been able to play it for over a year.

I even bought the expansion and never got to play it more than a few hours when it was almost working before crashing similarly. These people really need to learn to do their jobs and learn prioritize things. paying customers locked out of a game for a year is a top priority.

D4 has Alzheimerā€™s.
/sadge

thats not funny my dad died of alzheimers

I have 5800X and 32Gb ram + 5700XT 8GbVRAM and Iā€™ve had this issue since beta.
Basically the game had 24Gb+ RAM in taskmanager in beta and often crashed due to out of memory.

Biggest difference to your setup is that you have 2Gb extra VRAMā€¦ it might make a difference, but I assume the game has some odd issue then when if VRAM is not quite enough it will just pour stuff to RAM continuously.

There was some settings I had to turn down to get rid of it. Textures I assume and something else. In release it worked better but still occasionaly I had the issue.

Iā€™ve noticed if I have a browser open on windows it will still sometimes trigger the Out of memory issue. In beta it was constantly doing that but after release it was much better.

Edit. After reading some more comments, yeah page file size makes sense.

It doesnā€™t pour stuff into RAM. It swaps textures directly to VM instead of system RAM, acting with the opposite behaviour you think it uses. This is easily verified by checking the Fenris log for the telltale ā€œDiablo IV has run out of virtual memoryā€ entry. The more VRAM a GPU has, the more likely the player is to encounter this issue if the system page file and max VM size arenā€™t set to at least the following: (Total VRAM + 0.5*System RAM). You need that much so the game can perform a full VRAM dump without crashing and still have VM available to the system as well.

Oh yesā€¦ just read some other replies to this post.

Makes sense.

Just recently I had to increase page file to my sons computer since Fortnite was doing the same.

I remember back in 10-15 years when it became much more affordable to get 8-16-32Gb RAM on your PC and people said now you can easily reduce page file size since you will ā€œneverā€ run out of RAMā€¦

please
whatever amd radeon is NOT decent at all, itā€™s trash.
whatever from hardware or drivers related, itā€™s trash.
just be used any nvidia and you ll see the difference. DLSS is key.