4 Ways to Fix DirectX ‘Could Not Allocate Sufficient Memory’ Error on Windows 11
Pankil is a Civil Engineer turned freelance writer. Since his arrival at Guiding Tech in 2021, he delves into the world of how-tos, and troubleshooting guides for Android, iOS, and Windows. Besides his new-found love for mechanical keyboards, he’s a disciplined footfall fan and loves international travel with his wife.
Paras is a staff writer and a published Author, creating engaging SEO-friendly articles that resonate well with readers. Additionally, he diligently updates existing explainers to keep you in the loop with the latest tips and features, helping you make the most of your devices. Over the past 3 years, Paras has been featured on GadgetsToUse, before finally helping the readers at Guiding Tech Media.
Common Fixes
Fix 1: Increase the Paging File Size
Windows kernel uses the paging file size for carrying out virtual memory operations. Increasing the paging file sizeboosts the virtual memory, eliminating the DirectX ‘Could not allocate sufficient memory’ error on Windows 11.
Step 1:Press theWindows key> searchView advanced system settings> click to open it.
Step 2:Switch to theAdvancedtab > clickSettingsunder Performance.
Step 3:SelectChangeunder the Virtual memory section.
Step 4:UncheckAutomatically managing paging file size for all drives, highlight your desired drive, enableCustom size, and set your preferredInitialandMaximum size.
Note:The initial size should be 1.5 times the size of your RAM, and the maximum size can be up to 3 times the size of your RAM.
Step 5:SelectSetto apply changes and clickOK.
Fix 2: Clear the DirectX Cache
A corrupt DirectX cache can often create an insufficient memory allocation error on Windows 11. Clearing it manually should fix the issue.
Step 1:Press theWindows key> searchDisk Cleanup> click to open it.
Step 2:Select your Windows installation drive > clickOK.
Step 3:CheckDirectX Shader Cachein the list > clickOKto remove it. SelectDelete Fileswhen prompted to confirm the action.
Fix 3: Update or Reinstall the Graphics Driver
A corrupt cache and an obsolete graphic driver are common causes of DirectX’s ‘Could not allocate sufficient memory’ error. Update it manually to restore normalcy.
Step 1:Right-click theStart iconto open the Power User Menu and selectDevice Manager.
Step 2:ExpandDisplay adapters, right-click your graphic driver, and selectUpdate driver.
If the error persists,uninstall the driverusingUninstall deviceand restart your PC to let Windows 11 install it afresh.
Fix 4: Underclock the Chipset
If nothing works, you can underclock your CPU by accessing the BIOS settings. This decreases resource consumption and fixes the DirectX insufficient memory allocation error.
Caution:Reducing the CPU clock frequency may cause voltage fluctuations, making the processor unstable.
Step 1:Press theWindows + Xshortcut to open the Power user Menu, selectShut down or sign out, and clickRestart.
Step 2:Open theBIOS setupby pressing the dedicated key ( e.g., F2 ) at the startup.
Step 3:Locate theCPU Clock RatioorCPU Multiplier, lower its existing value, and save changes.
Note:These settings may differ on your Chipset.
Was this helpful?
Last updated on 22 May, 2024
Leave a ReplyCancel reply
Your email address will not be published.Required fields are marked*
Name*
Email*
Comment*
Δ
Read Next
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.
More in Windows
How to Convert and Open Pages File on Windows PC: 6 Best Ways
3 Ways to Disable Taskbar Thumbnail Preview in Windows 11
JOIN THE NEWSLETTER
Get Guiding Tech articles delivered to your inbox.
© 2024 Guiding Tech Media. All Rights Reserved.