My "Service Host: Diagnostic Policy Service" is taking up 5GB of Ram during Gaming?

Dev Trip 0 Reputation points
2024-06-29T03:09:39.9633333+00:00

When I need and I'm using all of the RAM on my system my Service Host uses around 5Gb ~30% of the total system RAM. I haven't seen this on my other computers and I don't know what would be causing this. I know that to stop the programs using this I'd have to go into the Service Host and find what few things are specifically taking up all the memory on my PC. I have an ASUS G14 2022.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,160 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,932 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian 11,036 Reputation points Microsoft Vendor
    2024-07-01T02:31:02.17+00:00

    Hello,

    Ensure that your system is up to date with the latest Windows updates. Start > Settings > Windows Update.

    Perform a full system scan with your antivirus to rule out the possibility of malware causing high RAM usage.

    https://support.microsoft.com/en-us/topic/how-to-start-a-scan-for-viruses-or-malware-in-microsoft-defender-e98663f1-8827-4abe-b9ce-fb2664201f29

    Background Processes: Open Task Manager and check for any background processes that might be consuming a lot of memory. You can sort the processes by memory usage to identify the culprits.

    Hope this helps.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.