I disabled some Startup Event Trace Sessions earlier, do they have to be reactivated?
No. But here's my general philosophy when troubleshooting or just when tweaking and dinking to see what happens: If I change a default setting and I don't see any improvement, I restore the default. I don't leave the change. Why?
Contrary to what some want everyone else to believe, the teams of 100s (1000s?) of PhDs, computer scientist and professional programmers at Microsoft, and their combined centuries of experience and their 10s of exabytes of empirical data to draw upon, really do know what they are doing. It is just with all that brainpower, experience, data and supercomputers to crunch with, they still cannot account for each and every one of the 1.6
billion "unique" scenarios and Windows computers out there.
It is important to remember that every Windows computer becomes a unique computer within the first few minutes of the very first boot (even 2 identical computers coming off the same assembly line, one right after the other) - this as users setup their own networking, security, hardware configurations, accounts, personalizations, applications, peripherals, etc.
So if changing the default does improve things fine. Leave it. But if no improvement is seen, change it back to the factory default setting.
Can anyone guess why this code would cause memory leaks in Windows, but only after three days? I'm no expert..
I'm not either. I'm a electronics technician, not a programmer (and that's by choice). But I did find this: SoundPlayer causing Memory Leaks? that looks pretty similar to your situation, even though that post is from 13 years ago. It might give you, or someone who is a real programmer, a clue.
In any case, please keep us posted.
What sometimes happens: after hours of trying to solve something, no solution is found. Sometimes it is faster to do a re-installation but it depends on the situation.
As the Princess noted, and as I noted previously in post #18 above, it is not always about getting the system back up and running quickly, it is about learning what happened so it can be prevented from happening again - this is true even after hours of exhaustive troubleshooting.
W7/10/11 are not like XP and earlier versions and should not be treated the same way. I note "format and reinstall" was almost a "matter of routine" back in those days. But not anymore.
Running a repair, or restoring from a "known good" image backup (especially if "time is money") would be MUCH BETTER options to perform before "reinstalling" the OS. Just beware, regardless if doing a repair, restore from image backup, or a full reinstall, it is not uncommon for users to then
reinstall the problem back too by copying back their saved (but infected or corrupt) personal files and programs - putting them right back where they started with a broken machine and not know the cause.