Share this article

Improve this guide

Not Enough Memory Error in DirectX 12: How to Fix It?

Increasing the page file size should work

5 min. read

Updated onOctober 4, 2023

updated onOctober 4, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

DirectX 12 is designed to provide graphics effects to Windows-based PC games at the same time, reducing CPU overhead and increasing GPU utilization.

However, there have been several instances when DirectX causes the game to crash during the launch or in the middle of gameplay. If you are struggling with the same problem, go through this guide to discover the possible fixes.

What causes the not enough memory error in DirectX 12?

What causes the not enough memory error in DirectX 12?

Below are the potential reasons why the game is crashing due to the not enough memory error in DirectX 12:

Regardless of the reasons why DirectX 12 gives you not enough memory error, the solutions listed below will help you resolve it in no time.

How do I fix the not enough memory error in DirectX 12?

How do I fix the not enough memory error in DirectX 12?

Before you implement the complex solutions listed a little later, try these simple workarounds:

If these tricks did not fix the problem, move on to more advanced solutions listed below.

1. Increase the paging file size

Misconfigured page file settings may create memory allocation problems causing the error in hand.

2. Add the game to Afterburner’s OSD exclusions

The Afterburner MSI will no longer show up on the screen, resolving the not enough memory error in DirectX 12.

As mentioned on several forums, the not enough memory error usually occurs when the MSI Afterburner’s OSD is running with DirectX 12, causing the system to crash. Adding the affected game to the OSD exclusions will ensure that the OSD does not show up during the system launch.

3. Delete the DirectX cache

Corrupt DirectX cached data can also cause the DirectX 12 not enough memory error when launching the game. Deleting the shader cache using the built-in disk cleanup tool will force DirectX to build a new one, resolving the error.

4. Run the Windows Memory Diagnostic tool

Your Windows PC will not restart and will diagnose potential memory problems such as memory leaks which might be the reason for the not enough memory error in DirectX 12.

That’s it! Hopefully, you were able to resolve the not enough memory error in DirectX 12, which causes an abrupt game crash.

You might be interested in resolving the errorDirectX is not compatible with this version of Windowsif it occurs after you upgrade Windows to the latest available version.

Which of these methods worked in your case? Do let us know in the comments section below.

More about the topics:DirectX Errors

Taiba Hasan

A postgraduate in Computer Applications, she is an avid technical writer who loves to craft content revolving around Windows, Android, and emerging technologies like SaaS. With How-To and troubleshooting guides, she aims to provide the best solutions for the problem and make technology less complicated for novice users.

Besides writing, she also loves to cook delicacies and spent time in her garden. In her free time, you will find her binge-watching web series or gazing the night sky.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Taiba Hasan