Have you noticed your computer slowing down, freezing occasionally, or consuming an unusually high amount of RAM even when you’re not running any demanding applications? If you open Task Manager to investigate, you might find a process called Antimalware Service Executable (MsMpEng.exe) using a significant amount of system memory or CPU resources.
Don’t worry! This process is generally legitimate and is associated with Microsoft Defender Antivirus, which helps protect your Windows computer against viruses, malware, spyware, and other security threats.
However, there are situations where MsMpEng.exe may consume more memory than expected. This can happen when Windows Defender performs a full system scan, checks large files, updates its security definitions, or encounters conflicts with other security applications.
Although some resource usage is normal, consistently high memory consumption can affect your computer’s performance, especially if you’re using a PC with limited RAM.
In this guide, I’ll walk you through several practical ways to fix MsMpEng.exe Antimalware Service Executable high memory usage in Windows 11 and Windows 10.
What Is Antimalware Service Executable (MsMpEng.exe)?
Antimalware Service Executable, also known as MsMpEng.exe, is a background process associated with Microsoft Defender Antivirus.
Its primary responsibility is to protect your computer by scanning files, monitoring running applications, checking downloads, and detecting potentially harmful activities.
Whenever you download a file, install an application, or access certain folders, Microsoft Defender may scan the related files to determine whether they contain security threats.
This process can temporarily increase CPU and RAM usage.
However, if MsMpEng.exe continues consuming excessive resources even when your computer is idle, you should investigate the issue.
Let’s look at the solutions.
Fix (MsMpEng.exe) Antimalware Service Executable High Memory Usage

To fix the issue, try these methods:
- Restart your Windows computer and check memory usage.
- Schedule Microsoft Defender scans for a convenient time.
- Change Microsoft Defender’s scan scheduling settings.
- Add appropriate exclusions for trusted files and folders.
- Update Microsoft Defender’s security intelligence.
- Check for malware and potentially unwanted applications.
- Disable unnecessary third-party antivirus software.
- Update Windows to the latest available version.
- Run SFC and DISM scans to repair corrupted system files.
1: Restart Your Windows Computer
The easiest way to troubleshoot high memory usage is to restart your computer.
Sometimes, Microsoft Defender gets stuck processing a particular scan or background security task. Temporary system glitches can also cause Windows processes to consume more resources than expected.
A restart refreshes system processes and clears temporary memory allocations.
To restart your PC, click Start > Power > Restart. Wait for Windows to shut down and boot again.
Once your desktop appears, press Ctrl + Shift + Esc to open Task Manager.
Navigate to the Processes tab and locate Antimalware Service Executable. Check its Memory and CPU columns to see whether resource consumption has returned to normal.
Keep in mind that Microsoft Defender may start another scan after restarting, so some resource usage is expected.
If the memory usage remains unusually high, move on to the next solution.
2: Schedule Microsoft Defender Scans
One common reason for high MsMpEng.exe memory usage is Microsoft Defender performing scheduled scans while you’re using your computer.
A full scan checks files and folders across your system. Depending on how much data you have, this process can consume considerable system resources.
You can reduce interruptions by scheduling scans for a time when you’re not actively using your PC.
Press Windows + R, type taskschd.msc, and press Enter to open Task Scheduler.
Navigate to Task Scheduler Library > Microsoft > Windows > Windows Defender.
Look for the task named Windows Defender Scheduled Scan.
Right-click it and select Properties. Open the Triggers tab to review the existing scan schedule.
You can modify the trigger to schedule scans at a more convenient time, such as when your computer is typically idle.
Click OK to save your changes.
Avoid disabling scheduled scans completely. Regular antivirus scans are important for keeping your computer protected.
3: Change Microsoft Defender’s Scan Scheduling Settings
If MsMpEng.exe frequently consumes excessive resources during scans, you can also adjust its scan-related settings through Local Group Policy.
This option is particularly useful if you want to control how scheduled scans run.
Press Windows + R, type gpedit.msc, and press Enter.
Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan.
Look for the policy named Specify the maximum percentage of CPU utilization during a scan.
Double-click the policy and select Enabled.
Enter a reasonable CPU usage percentage, such as 30 or 40, depending on your system’s capabilities.
Click Apply > OK to save the changes.
This setting limits CPU utilization during scans, which may improve responsiveness while Microsoft Defender is working.
Remember that it controls CPU usage, not RAM directly. It may help reduce performance slowdowns, but it won’t necessarily fix every high-memory issue.
If you’re using Windows Home and Group Policy Editor isn’t available, skip this method rather than modifying the registry unnecessarily.
4: Add Exclusions for Trusted Files and Folders
Microsoft Defender continuously monitors files and folders to identify potential security threats.
However, repeatedly scanning certain large or frequently accessed folders can increase resource consumption.
If you have a specific folder containing trusted development files, virtual machines, or other frequently accessed data, you can consider adding an exclusion.
Press Windows + I to open Settings.
Navigate to Privacy & security > Windows Security > Virus & threat protection.
Under Virus & threat protection settings, click Manage settings.
Scroll down to the Exclusions section and select Add or remove exclusions.
Click Add an exclusion and choose the appropriate option, such as File or Folder.
Browse to the location you want Microsoft Defender to exclude and confirm your selection.
However, be careful about what you exclude. Excluded files and folders won’t receive the same level of real-time antivirus scanning.
Avoid excluding your entire C: drive, Downloads folder, or commonly targeted directories. Only exclude specific files or folders when you understand why the exclusion is necessary and trust their contents.
If you’re unsure, leave the exclusions section unchanged and try another solution.
5: Update Microsoft Defender’s Security Intelligence
Outdated antivirus definitions can sometimes contribute to scanning problems and unexpected system behavior.
Microsoft regularly releases security intelligence updates to help Defender recognize newly discovered threats.
Keeping these definitions current can help Microsoft Defender operate correctly.
Open Settings > Privacy & security > Windows Security > Virus & threat protection.
Scroll down and select Protection updates.
Click Check for updates to allow Windows to search for the latest available security intelligence.
If an update is available, install it and wait for the process to finish.
You can also open Windows Security directly by searching for it through the Start menu.
Once the update is complete, restart your computer and check whether MsMpEng.exe is still consuming excessive memory.
6: Check Your Computer for Malware
Although MsMpEng.exe is a legitimate Windows process, malware can sometimes disguise itself using similar names or imitate legitimate system processes.
Therefore, it’s worth checking your computer for suspicious programs or malicious files.
Open Windows Security > Virus & threat protection.
Under Current threats, select Scan options.
Choose Full scan and click Scan now.
A full scan examines files, running programs, and other locations where malware might be present.
Depending on your computer’s storage capacity and the number of files, the scan may take some time.
If Windows detects a threat, follow the recommended instructions to quarantine or remove it.
You can also use a Microsoft Defender Offline scan if you suspect persistent malware that may be difficult to remove while Windows is running.
Keep in mind that a full scan can temporarily increase MsMpEng.exe memory and CPU usage. This is expected while the antivirus checks your computer.
7: Check for Conflicting Third-Party Antivirus Software
Are you using another antivirus program alongside Microsoft Defender?
Third-party security applications can sometimes interfere with Defender’s operations, particularly during real-time monitoring and scheduled scans.
Although Microsoft Defender generally adjusts its active protection behavior when a compatible third-party antivirus is installed, leftover security components or incompatible software can still cause problems.
To investigate, press Windows + I and navigate to Apps > Installed apps.
Review the installed applications and look for third-party antivirus programs you no longer use.
If you find an unnecessary antivirus application, select its three-dot menu and choose Uninstall.
Follow the on-screen instructions and restart your computer.
Avoid running multiple antivirus programs with overlapping real-time protection features.
If you prefer using Microsoft Defender, make sure unnecessary third-party antivirus software and its leftover components are removed properly.
8: Update Windows to the Latest Version
Sometimes, excessive memory consumption is related to Windows bugs or compatibility problems.
Microsoft regularly releases updates to improve system performance, security, and stability.
To check for updates, press Windows + I and navigate to Windows Update.
Click Check for updates and wait while Windows searches for available updates.
If updates are available, download and install them.
Also, check the Advanced options section for relevant optional updates, particularly if you’re experiencing driver-related problems.
After installing the updates, restart your computer.
Open Task Manager again and check whether Antimalware Service Executable is still consuming unusually high memory.
9: Run SFC and DISM Scans
If none of the previous solutions work, corrupted Windows system files may be contributing to the problem.
Fortunately, Windows provides two useful repair utilities called System File Checker (SFC) and Deployment Image Servicing and Management (DISM).
Press Start, search for Command Prompt, right-click it, and select Run as administrator.
First, enter the following command and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
Allow the scan to complete. DISM checks the Windows component store and attempts to repair detected corruption.
Next, enter:
sfc /scannow
Press Enter and wait while Windows checks protected system files and repairs corrupted files when possible.
Once both scans are complete, restart your computer.
Now, open Task Manager and check whether the memory usage has improved.
FAQs
1. Is MsMpEng.exe a virus?
No. MsMpEng.exe is a legitimate Windows process associated with Microsoft Defender Antivirus. However, malware can sometimes imitate legitimate process names. Check its file location and run a security scan if you suspect suspicious activity.
2. Why does Antimalware Service Executable use so much RAM?
MsMpEng.exe can consume additional RAM while scanning files, monitoring applications, updating security definitions, or performing scheduled antivirus checks. Persistent high usage may also indicate software conflicts or system problems.
3. Can I permanently disable MsMpEng.exe?
It’s not recommended. MsMpEng.exe is an important component of Microsoft Defender Antivirus. Disabling it can reduce your computer’s protection against malware, viruses, and other security threats. Instead, troubleshoot excessive resource consumption while keeping antivirus protection enabled.
4. How much memory should Antimalware Service Executable use?
There isn’t a fixed memory limit for MsMpEng.exe. Its usage depends on your computer’s RAM, scanning activity, installed applications, and the number of files being checked. Temporary increases during scans are normal.
5. Why does MsMpEng.exe use high CPU and memory simultaneously?
This usually happens when Microsoft Defender performs resource-intensive scanning or real-time monitoring. Large files, frequent file changes, outdated security definitions, and conflicting security software can also contribute to higher resource consumption.
6. Can I stop Antimalware Service Executable from Task Manager?
You may see an End task option, but stopping this process isn’t a recommended permanent solution. Microsoft Defender may restart the process automatically, and interrupting antivirus activity can leave files unchecked.
Final Words
The Antimalware Service Executable (MsMpEng.exe) high memory usage problem can make your Windows 11 or Windows 10 computer feel slow, particularly when you’re running multiple applications.
However, you don’t need to disable Microsoft Defender to resolve it. In most cases, adjusting scan schedules, updating security intelligence, checking for conflicting antivirus programs, and repairing Windows system files are better approaches.
I’d recommend starting with the first five solutions and checking Task Manager after each change.
If the problem continues, run a full malware scan and try the remaining troubleshooting methods.