RECOMMENDED: Click here to fix Windows errors and optimize system performance
- Select the drive to defrag and select ‘Analyze‘.
Restart your computer after the new fragmentation.
7] Closing the ClearPage file
It’s getting more complex – but don’t worry. To delete the page file each time you close:
- Type regedit to launch the registry editor.
- Enter this path : HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management
- Change the value from ClearPageFileAtShutDown to ‘1’.
- Save changes and restart the device.
That should do it.
9] Disable Superfetch
This Windows service optimizes performance by minimizing boot time. It allows Windows to manage RAM usage. Life after disabling Superfetch is not convenient, but do it when you need it. At least try to isolate the problem yourself:
- Search services.msc and go to Service Manager.
- Search for ‘Superfetch‘ and right click to go to ‘Properties‘.
- Select Stop‘.
- Also ‘Disable‘ the service from the drop-down menu.
- Restart the PC and check if performance has improved.
Activate Superfetch if it does not work.
10] Scan for malware
Use third-party antivirus software or Windows 10’s own Windows Defender from Windows 10 to scan and remove malware. Make sure the antivirus is updated to support your operating system so that it does not become the cause of the memory leak.
Any solution you need to find or prevent memory leaks is here. You can learn more about memory leaks on MSDN and Microsoft.