How to stop Microsoft Defender from using high memory or RAM on Windows PC

On Windows systems, Microsoft Defender is a free malware protection software service. And this is critical in safeguarding your computer from viruses, malware, and other security and privacy risks. However, even if Microsoft Defender antivirus provides excellent protection, there is a chance that an issue with excessive RAM and CPU utilization will occur.

When the Antimalware Executable Service or Msmpeng.exe is tracked using the Task Manager, many Windows users complain that it uses a lot of memory or RAM. When Windows Defender performs a comprehensive scan on your computer, this error is common. If you’re experiencing an Antimalware Service Executable issue with excessive memory on Windows PC, don’t worry; this isn’t a virus; on contrary, it’s a vital aspect of Windows protection. We’ll work through it in this article to see what it is and how to fix it.


The MsMpEng.exe program is part of Windows Security (Windows Defender), which scans your computer for attacks, prevents them, and refreshes your antivirus software. It can also be found in your task manager as “Antimalware service executable.”

Windows Defender uses MsMpEng.exe/Antimalware Service Executable to monitor and control your computer for risks as well as provide real-time protection against viruses and malware infections.


  • The MsMpEng.exe/Antimalware service executable is such an important aspect of Windows security, it occasionally does a full scan of the entire device, which includes a thorough examination of all files on your computer. The full scan requires a lot of CPU resources and isn’t afraid to use whatever your system has available, you can notice latency, lags, hangings, and other issues while it’s working.


  • Now that you know what an antimalware service executable is and why it consumes so much space on occasion, let’s move on to how to fix Antimalware Service Executable’s excessive memory on a Windows PC. Several debugging solutions will assist you in resolving the Microsoft Defender excessive RAM or memory use problem on a Windows PC; you can try each solution below to address the error.

Solution#1: Perform an SFC scan.

  • Go to the Search box by pressing the Start button.
  • Start with Command Prompt.
  • Select Run as administrator from the search results by right-clicking Command Prompt.
  • Select Yes.

Solution #2: Perform a DISM Scan

  • Launch the Command Prompt and run it as administrator.
  • Enter the following command: DISM /Online /Cleanup-Image /CheckHealth
  • Next, type DISM /Online /Cleanup-Image /ScanHealth and hit Enter.
  • Lastly, enter DISM /Online /Cleanup-Image /RestoreHealth.

Solution #3: Schedule Full Scan on Microsoft Defender

  • Enter Task scheduler in the search bar.
  • Look to the left for the Task Scheduler Library.
  • To expand the menu, click the down arrow.
  • Choose Microsoft.
  • After that, select Windows.
  • Then select Windows Defender.
  • Double-click Windows Defender Scheduled Scan to open it.
  • Go to the General section.
  • Uncheck the box next to Run with the greatest privileges.
  • Navigate to the Conditions section.
  • Uncheck every box.
  • Go to the Triggers section.
  • At the bottom of the screen, select New.
  • Now, specify the number of times Microsoft Defender scans.

Solution #4: Disable Real-Time Protection.

  • Open the Options menu.
  • Go to the Update & Security section.
  • Choose Windows Security from the drop-down menu.
  • Choose Virus and threat protection on the right side.
  • Choose Manage Options.
  • Search for the Real-Time Protection button and turn it off.

Solution #5: On your Windows PC, create a new local user account.

  • Navigate to the Settings menu.
  • Navigate to Accounts.
  • Choose between Family and other users and other users.
  • Add another user to this computer.
  • Select the option I don’t have this person’s sign-in information.
  • Choose to Add a person who does not have a Microsoft account.
  • Replace your login, password, and security questions with new ones.
  • Select Next.

Solution#6: Update all bad drivers

  • If none of the above suggestions worked, try downloading and installing the latest driver for your device. You can manually update all of the drivers on your PC using the device manager.
  • It can be done by going to the manufacturer’s website and looking for the most recent correct driver for the specific device.
  • Make sure the drivers you install are compatible with your Windows system version.

Conclusion: That’s all; you may now use your Windows PC without encountering any issues such as system slowdown or lags. You may easily and quickly stop Microsoft Defender from causing your Windows PC to hang by following the instructions outlined above.

Leave a Reply

Your email address will not be published.