Hi.
I can understand that you want to control the memory usage of Microsoft Defender Antivirus Service.
You can try the following steps:
- Win+R, input "gpedit.msc";
- Click "Computer Configuration" > "Administrative Templates" > "Windows Components" > "Windows Defender Antivirus Program" > "Scan" > "Specify the maximum CPU percentage used during scanning" > set the value of the specified percentage and click "OK" .
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.