Fix: Microsoft Defender Antivirus Service High Memory Usage

Disabling real-time protection often makes a difference

by Sagar Naresh
Sagar Naresh
Sagar Naresh
Content Analyst
Sagar is a web developer and technology journalist. Currently associated with WindowsReport and SamMobile. When not writing, he is either at the gym sweating it out or playing... read more
Affiliate Disclosure
  • Microsoft Defender is an in-built tool that protects your PC from threats.
  • However, there are several user reports that claim the Microsoft Defender service uses high memory.
  • In this guide, we have listed some effective solutions that will resolve the problem at your end.
ESET Antivirus comes with all the security tools that you may ever need to protect your data and privacy, including:
  • Anti-theft support
  • Webcam protection
  • Intuitive setup and UI
  • Multi-platform support
  • Banking-level encryption
  • Low system requirements
  • Advanced anti-malware protection

An antivirus program needs to be fast, efficient, and cost-effective, and this one has them all.

Having antivirus software on your PC is the need of the hour since your personal and private data is always at risk when you are connected to the internet.

While many go all out and get a subscription for the best antivirus software, many keep their faith in the built-in Microsoft Defender.

Microsoft Windows Defender is antivirus software that keeps your PC protected from viruses and malware. It also scans any file that you download or any program that you install on your PC.

However, often it has been spotted eating up high memory, CPU usage, and disk usage. You will find several user reports complaining about Microsoft Defender antivirus service high memory issue.

If you are also facing an issue with the Microsoft Defender antivirus, then this guide will help you fix the problem.

Because here we will give you a list of solutions that will help you fix the Microsoft Defender antivirus service high memory issue. Let us take a look at them.

Why is Windows Defender taking up so much memory?

MsMpEng.exe is the file that is responsible for checking your PC for threats, stopping them, and keeping the antivirus definition up to date. It is an important component of Windows Security or Windows Defender.

Using this MsMpEng.exe file, Windows Defender continuously monitors your computer for threats and provides real-time protection.

In this process, it keeps running in the background, and most commonly this would take around 50% of your PC’s RAM, while Windows Defender performs a real-time scan, full system scan, or updating virus definition.

Until these background tasks aren’t completed, you will see Microsoft Defender service eating high memory. This error has been reported in different forms, as mentioned below, but they are all the same:

  • Microsoft Defender antivirus service has high memory usage
  • Windows Defender antivirus service has high RAM usage
  • Microsoft Defender antivirus service has high memory in Windows 11
  • Antimalware service executable high memory in Windows 10

Let us now take a look at the solutions that will help you fix the above problems on your PC.

Quick Tip:

Unscheduled scans and virus check-ups might take up lots of memory at very inconvenient times. To avoid high resource usage, switching to a lightweight antivirus should save you the pain.

ESET Security System is a simple yet powerful antivirus that can detect all kinds of threats, even ones that are not in its database. It was built to keep the system protected all around the clock so its memory usage is very optimized.


Ultimate protection for all data with this amazingly built antivirus.
Free Trial Visit Website

How do I stop Microsoft Defender antivirus service from using memory?

1. Disable real-time protection

  1. Open the Start menu.
  2. Search for Windows Security and open it.Windows Security to fix sd card not recognized windows 11
  3. Click on Virus & threat protection.virus and threat protection steam error e502 l3
  4. Select Manage settings.
  5. Turn off the Real-time protection.

Real-time protection is one of the components of the Microsoft Defender antivirus that generally triggers the high memory usage issue.

While it is nice to have a background check continuously going on your PC, if high memory usage is really troubling you, you can try turning it off and then check if this fixes the issue or not.

2. Disable Windows Defender tasks

  1. Open the Start menu.
  2. Search for Task Scheduler and open it.
  3. Now navigate to Task Scheduler Library > Microsoft > Windows > Windows Defender.
  4. On the right pane, you will see all Microsoft Defender tasks running in the background including:
    • Windows Defender Cache Maintenance
    • Windows Defender Cleanup
    • Microsoft Windows Defender Scheduled Scan
    • Microsoft Windows Defender Verification.
  5. One by one, close all the Microsoft Defender tasks that are mentioned above by clicking on the task and selecting Disable.

You can try disabling all the Microsoft Windows Defender tasks from the Task Scheduler since they are the reason you are getting the high memory usage error.

3. Run SFC Scan

  1. Press the Win + R buttons to open the Run dialogue.
  2. Type the below and hit Enter. cmd
  3. Enter the below command in the Command Prompt and press Enter. sfc /scannowRun SFC scan to fix windows 11 error recovery
  4. You will see a message pop up saying Verification 100% complete.
  5. Now run the below command and press Enter. DISM /Online /Cleanup-Image /CheckHealthCan't move the folder because there is a folder in the same location that can't be redirected
  6. Restart your PC and check if this fixes the issue or not.

The SFC Scan or System File Checker is an in-built tool in Microsoft Windows that helps you repair the corrupt system files, if any, on your PC.

DISM (Deployment Image Servicing and Management) repairs the system files that SFC Scan fails to repair or replace. It is an administrator line tool.

4. Add Antimalware Service Executable to the exclusion list

  1. Press Ctrl + Alt + Del to open the Task Manager.
  2. Locate Antimalware Service Executable and right-click on it.
  3. Click on Open file location.
  4. Copy the file location.
  5. Press Win + R to open the Run dialogue.
  6. Type the below command and press Enter. windowsdefender://threat/
  7. Scroll down and select Manage settings under Virus & threat protection settings.
  8. Click on Add or remove exclusions.
  9. Select Add an exclusion and then click on Process.
  10. Paste the full path of the Antimalware Service Executable location.
  11. Click on Add.
  12. Restart your PC.

5. Try another antivirus software

If none of the above solutions fixed the Microsoft Defender service high memory usage problem for you, then it is time for you to switch over to different antivirus software and disable the Microsoft Defender.

Are you confused about which antivirus software to go for? Do not worry, we have a dedicated guide that lists down some of the best antivirus software that you can try on your Windows OS PC.

Chances are that because of a bug, the Microsoft Defender service is having high memory issue. You can easily avoid it by switching over to trusted antivirus software.

Is it OK to disable the antimalware service executable?

Yes. It is completely okay to disable the antimalware service executable and even Microsoft Defender. These built-in tools, although beneficial, can trigger multiple problems. And in such cases, you can disable it.

However, make sure that you have alternate antivirus software installed on your PC to avoid putting your personal data or privacy at risk.

We hope the above guide helped you fix the Microsoft Defender service high memory issue. Let us know in the comments below if you applied a different solution to solve this problem.

This article covers:Topics: