How to fix the memory management error in Windows 10