How do you fix the Microsoft "Diagnostic Policy Service" taking up about 4GB memory and about 1 cpu core at 100%?
I found out there is a process that keeps using up tons of CPU because my computer fans keep spinning up for heat. But the problem is that the cpu/memory usage wasn't always bad. And when you restart the process it SEEMS to go away for a while.
I used a python program psrecord to measure the cpu usage and memory usage of the process (and children) to find out that this process takes about 12 hours to get to maximum memory usage and it has lots of CPU usage:
The first graph is:
- x-axis time in seconds
- y-axis cpu usage in percent (100% is one full core)
The second graph is memory usage:
- x-axis is time in days
- y-axis is memory usage in MB