Title: How to Reduce MsMpEng.exe Memory Usage on Windows Server 2022

wangshu 20 Reputation points
2026-10-19T08:46:17.7866667+00:00

I have a virtual machine with 8 GB of RAM running Windows Server 2022. After the machine starts, MsMpEng.exe uses nearly 10% of the used physical memory. However, Windows Defender does not appear to be running a scan. Is there any way to reduce the memory usage of MsMpEng.exe?

User's image

Windows for business | Windows Server | Performance | System performance
0 comments No comments

Answer accepted by question author
Chance Maurice Niyonzima 825 Reputation points Independent Advisor
2026-10-19T09:55:44.6533333+00:00

Hello Wangshu,

Thank you for posting your question on the Microsoft Windows Forum!

Based on the screenshot, I do not see evidence that MsMpEng.exe is consuming an excessive amount of memory.

From the Resource Monitor:

Installed RAM: 8192 MB (8 GB)
Memory In Use: 2166 MB
Available Memory: 5823 MB
MsMpEng.exe: ~311 MB Working Set

Even though MsMpEng.exe appears near the top of the list, the server still has approximately 5.8 GB of available memory, and total memory utilization is only about 26%. That suggests Microsoft Defender Antivirus is not currently creating memory pressure.

Is This Normal?

Yes. MsMpEng.exe is the core process for Microsoft Defender Antivirus and maintains signatures, cached metadata, and real-time protection state in memory. Memory usage varies depending on:

Real-time protection activity
Number of monitored files
Installed signatures and engine version
Server workload
Recently scanned content

Microsoft does not publish a fixed "expected" memory usage value for MsMpEng.exe because the process adjusts its resource consumption dynamically based on workload. Microsoft Defender Antivirus on Windows Server explains how Defender operates on Windows Server platforms. [microsoft.com]

When Should You Be Concerned?

I would investigate further only if you observe one or more of the following:

Memory utilization consistently above 80–90%
Continuous growth of MsMpEng.exe memory over time
Sustained high CPU usage by MsMpEng.exe
Application slowdowns attributable to Defender scanning
Significant paging or memory pressure events

The screenshot does not currently indicate any of those conditions.

Microsoft-Supported Optimization Methods

If you identify an actual performance impact, Microsoft recommends using the Defender Performance Analyzer to determine which files, processes, or paths are generating scan overhead, rather than arbitrarily reducing Defender resource usage.

Relevant Microsoft documentation:

Typical server workloads that may benefit from Microsoft-recommended exclusions include:

Hyper-V virtual machine storage
SQL Server databases
Backup repositories
High-volume application data folders

However, exclusions should be evaluated carefully because they reduce scanning coverage.

Based on the screenshot alone:

MsMpEng.exe appears to be operating normally.
The server has ample available memory.
No action is currently required to reduce Defender memory consumption.

I would first confirm that there is a real performance issue before making Defender configuration changes.

I hope this answer has brought you useful information. If so, please click on "Accept Answer" and consider upvoting it. Doing so helps other community members identify useful solutions to similar issues.

Thanks,

Maurice

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.