Fix (MsMpEng.exe) Antimalware Service Executable High Memory Usage
Have you noticed that your Windows PC is using too much memory even when you aren’t running many programs? If you open Task Manager to investigate the problem, you might find a process called Antimalware Service Executable (MsMpEng.exe) consuming a large amount of RAM.
This process is part of Microsoft Defender Antivirus, which protects your computer against viruses, malware, spyware, and other security threats. It runs in the background and regularly scans files, checks running programs, and monitors your system for suspicious activity.
Although MsMpEng.exe is an important Windows security process, it can sometimes use more memory than expected. This usually happens during a full system scan, after a Windows update, while scanning large files, or when another security application conflicts with Microsoft Defender.
In this guide, we’ll explain how to fix MsMpEng.exe Antimalware Service Executable high memory usage in Windows 11 and Windows 10.
Fix (MsMpEng.exe) Antimalware Service Executable High Memory

To fix Antimalware Service Executable high memory usage in Windows 11/10, open Windows Security and check Microsoft Defender’s scan activity. Update Windows and security intelligence, schedule scans for a convenient time, add exclusions only for trusted files and folders, and run SFC and DISM scans to repair corrupted system files.
Restart your PC and check memory usage again in Task Manager.
Step 1: Check Whether Microsoft Defender Is Running a Scan
Before changing any Windows settings, check whether Microsoft Defender is currently scanning your computer. High memory usage can be temporary when the antivirus scans a large number of files or checks recently downloaded applications.
If a scan is running, you might notice that MsMpEng.exe uses more RAM than usual. This doesn’t necessarily mean something is wrong with your computer.
To check its activity, follow these steps.
- Press Ctrl + Shift + Esc on your keyboard to open Task Manager.
- If Task Manager opens in a simplified view, click More details.
- Select the Processes tab.
- Find Antimalware Service Executable in the list.
- Check its Memory and CPU columns to see how many resources it is using.
- Open Windows Security from the Start menu.
- Select Virus & threat protection.
- Check whether a scan is running or whether Windows Security shows any active security activity.
If Microsoft Defender is scanning your computer, give it some time to finish. Avoid repeatedly restarting the antivirus service because doing so can interrupt security checks.
Once the scan finishes, check Task Manager again. If memory usage returns to normal, you don’t need to change anything.
However, if MsMpEng.exe continues consuming excessive RAM even when no scan is running, move to the next method.
Step 2: Restart Your Windows Computer
Sometimes, Windows services don’t work properly because of temporary system glitches or background processes that haven’t closed correctly.
Restarting your computer can clear temporary issues and allow Microsoft Defender to start fresh.
Here’s how to do it.
- Press the Windows key on your keyboard.
- Click the Power icon in the Start menu.
- Select Restart.
- Wait for Windows to shut down and boot again.
- Once you’re back on the desktop, press Ctrl + Shift + Esc.
- Open Task Manager and check the memory usage of Antimalware Service Executable.
If its RAM consumption has decreased, the issue might have been caused by a temporary Windows problem.
If the problem returns after some time, continue with the following methods.
Step 3: Update Microsoft Defender Antivirus
Running an outdated version of Microsoft Defender can sometimes cause performance problems. Updating its security intelligence and antivirus components can help resolve issues related to scanning and system performance.
Windows generally downloads these updates automatically, but you can also check for them manually.
Follow these steps.
- Press Windows + I to open Windows Settings.
- In Windows 11, select Privacy & security. In Windows 10, select Update & Security.
- Open Windows Security.
- Click Virus & threat protection.
- Scroll down and select Protection updates or Security intelligence updates.
- Click Check for updates.
- Allow Windows to download and install any available updates.
After updating Microsoft Defender, restart your computer and check whether MsMpEng.exe is still consuming too much memory.
Also, visit Windows Update and install any pending updates. Keeping Windows up to date helps maintain compatibility between the operating system and its security components.
Step 4: Schedule Microsoft Defender Scans for a Convenient Time
If Microsoft Defender regularly scans your computer while you’re working, it can affect system performance.
You can use Task Scheduler to check the scheduled antivirus scan settings and adjust the scan time.
Here’s how.
- Press Windows + R to open the Run dialog box.
- Type taskschd.msc and press Enter.
- In Task Scheduler, expand Task Scheduler Library.
- Expand Microsoft.
- Expand Windows.
- Find and select Windows Defender.
- Look for the scheduled scan task, usually named Windows Defender Scheduled Scan.
- Right-click the task and select Properties.
- Open the Triggers tab.
- Review the existing schedule and adjust it to a time when you’re less likely to use your computer.
Click OK to save your changes.
Keep in mind that Windows can also launch scans after security intelligence updates or other security events. Changing the scheduled scan time won’t prevent every scan from running.
Step 5: Add a Specific Folder to Microsoft Defender Exclusions
Sometimes, Microsoft Defender repeatedly scans a large folder containing development files, virtual machines, or other trusted data. This can increase resource consumption.
You can reduce unnecessary scanning by excluding a specific trusted folder.
However, be careful. An exclusion means Microsoft Defender won’t scan the excluded location in the usual way, which creates a potential security gap.
To add an exclusion, follow these steps.
- Open Windows Security.
- Select Virus & threat protection.
- Scroll down to Virus & threat protection settings.
- Click Manage settings.
- Scroll down and select Add or remove exclusions.
- Click Add an exclusion.
- Choose Folder or File, depending on what you need to exclude.
- Browse to the specific trusted location.
- Select the folder and confirm your choice.
Only exclude a folder when you have identified it as a source of unnecessary scanning and trust everything stored inside it. Never exclude your entire Windows drive, Downloads folder, or antivirus installation directory just to reduce memory usage.
You can remove an exclusion later from the same settings page. Microsoft’s guidance also recommends keeping exclusions as narrow as possible.
Step 6: Check for Conflicting Antivirus Programs
Are you using another antivirus program alongside Microsoft Defender? If so, check whether the two security applications are interfering with each other.
Some third-party antivirus programs provide their own real-time protection, background scanning, and security monitoring. Depending on their configuration, this can lead to unnecessary resource consumption.
To investigate the issue, follow these steps.
- Press Windows + I to open Settings.
- Select Apps.
- Open Installed apps in Windows 11 or Apps & features in Windows 10.
- Look for third-party antivirus programs.
- If you no longer use an antivirus application, select it and choose Uninstall.
- Follow the on-screen instructions to complete the removal.
- Restart your computer.
If you want to keep using third-party antivirus software, check its compatibility and security status instead of immediately uninstalling it.
After restarting, open Windows Security and check which antivirus provider is active. Avoid leaving your computer without active antivirus protection.
Step 7: Run System File Checker and DISM Scans
Corrupted or missing Windows system files can cause unexpected operating system problems. Although this isn’t always the reason behind high MsMpEng.exe memory usage, repairing damaged system files is a useful troubleshooting step.
Windows includes two command-line tools called System File Checker (SFC) and Deployment Image Servicing and Management (DISM).
Start with DISM.
- Click the Start button.
- Type Command Prompt in the search box.
- Right-click Command Prompt and select Run as administrator.
- Click Yes if Windows asks for permission.
- Enter the following command and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
6. Wait for the operation to finish. It may take several minutes.
Once DISM completes, run the SFC scan.
1. In the same administrator Command Prompt window, enter:
sfc /scannow
- Press Enter.
- Allow Windows to scan and repair corrupted system files.
- Wait until the verification process reaches 100%.
- Restart your computer.
After restarting, open Task Manager and check whether the memory usage has improved.
Step 8: Perform a Full Malware Scan
Although MsMpEng.exe is a legitimate Microsoft Defender process, malware can sometimes disguise itself using similar names.
You should also investigate whether your computer has an unwanted program causing unusual system activity.
First, verify the process location using Task Manager.
- Press Ctrl + Shift + Esc.
- Open the Details tab.
- Find MsMpEng.exe.
- Right-click it and select Open file location.
- Check whether the executable is located inside a Microsoft Windows Defender installation directory.
The legitimate executable is normally located within the Windows Defender platform directory under C:\ProgramData\Microsoft\Windows Defender\Platform\.
If you find an executable with the same name in an unrelated location, don’t assume it’s genuine.
Next, run a full security scan.
- Open Windows Security.
- Select Virus & threat protection.
- Click Scan options.
- Select Full scan.
- Click Scan now.
Allow the scan to finish and follow Windows Security’s recommendations if it detects any threats.
Step 9: Install Pending Windows Updates
If the previous methods haven’t resolved the issue, check whether your Windows installation has pending updates.
Microsoft regularly releases Windows updates that include security improvements, bug fixes, and performance enhancements.
An outdated Windows installation may sometimes contribute to unexpected background service problems.
Here’s how to check for updates.
- Press Windows + I to open Settings.
- Select Windows Update in Windows 11. In Windows 10, select Update & Security and then Windows Update.
- Click Check for updates.
- If updates are available, download and install them.
- Restart your computer if Windows requests it.
- Open Task Manager and check the memory usage of MsMpEng.exe again.
If an update is already downloading or installing, let the process finish before checking performance.
FAQs
1. What is MsMpEng.exe in Windows?
MsMpEng.exe stands for Microsoft Malware Protection Engine. It’s the main process associated with Microsoft Defender Antivirus, also known as Antimalware Service Executable.
It runs in the background to scan files, monitor suspicious activities, and protect your computer against malware and other security threats.
2. Is Antimalware Service Executable a virus?
No. Antimalware Service Executable is a legitimate Windows security process when it’s running from the correct Microsoft Defender installation directory.
However, malware can sometimes use similar names to disguise itself. If you find MsMpEng.exe in an unusual location, investigate it using Windows Security.
3. Why does MsMpEng.exe use so much RAM?
MsMpEng.exe can consume additional RAM when Microsoft Defender performs full system scans, checks large files, updates security intelligence, or monitors suspicious applications.
Third-party antivirus conflicts and software problems can also contribute to performance issues.
4. Can I disable Antimalware Service Executable?
You shouldn’t permanently disable Antimalware Service Executable because it’s an important component of Microsoft Defender Antivirus.
Disabling it can leave your computer vulnerable to malware and other security threats. Instead, identify what’s causing excessive resource consumption and use the troubleshooting methods explained above.
5. How much memory should Antimalware Service Executable use?
There isn’t a fixed RAM limit for MsMpEng.exe. Its memory consumption depends on your system configuration, scanning activity, number of files, and security settings.
Temporary increases during antivirus scans are normal. However, consistently high memory usage that affects your computer’s performance deserves investigation.
6. Why does MsMpEng.exe keep running in the background?
Microsoft Defender uses real-time protection to monitor your computer continuously. That’s why MsMpEng.exe normally runs even when you’re not manually scanning your PC.
Its background activity helps detect suspicious files and applications before they can cause damage.
