Does anyone have problems with the Windows 11 Diagnostic Policy Service hogging up the CPU usage when running AmiBroker optimizations? I have a fairly new PC, running the latest Windows 11, 64 Gb of RAM, Inter i9-13900KF 3.0 GHz processor. The Diagnostic Policy Service is a perennial hogger of CPU resources, slowing down AmiBroker, and most of the things I have tried to alleviate this (stopping the service etc) don't seem to work (it restarts almost straight away, even when it's set to manual start).
I managed to find the SRUDB.dat file in "C:\Windows\System32\sru", which turned out to be 22 Gb in size. When I deleted this file, after stopping Diagnostic Policy Service, my PC started running normally again. I could restart Diagnostic Policy Service, and it did not hog the CPU usage.