JamesCJ60 / AMD-APU-Tuning-Utility

Unlock the full potential of your Zen-based APU with AMD APU Tuning Utility!
https://amdaputuningutility.com/
GNU General Public License v3.0
555 stars 21 forks source link

Memory leak v2.0.5.6 #26

Closed burntoc closed 2 years ago

burntoc commented 2 years ago

First off - this tool helped save my sanity with my new Ryzen laptop w/dGPU and I really appreciate the work. Regarding the issue report, sorry I don't have better info - I've only had the laptop up for a couple of days. After several hours I was getting a message here or there about various programs crashing, e.g. powercfg, .NET stuff, etc. and the laptop would be much less responsive. I opened taskmgr and on my 16GB device my browser with 120+ tabs open was consuming about 5GB RAM, and AATU was up to consuming 5GB as well.

I'm about to reboot and I'll monitor more closely. If there's logs I can provide just let me know.

burntoc commented 2 years ago

By way of an update, I was watching it happen again just now. Looks like it is spawning more and more CMD/console subtasks @5.1MB RAM consumed each. After a few minutes I was at 650 instances and counting. No obvious indications of any issues were presented by the app.

JamesCJ60 commented 2 years ago

I shall look at the issue sometime tomorrow with a fix hopefully released not long after.

JamesCJ60 commented 2 years ago

I couldn't recreate this issue on any of my devices, but I have made a few alterations to the code, which I hope helps your situation in v2.0.5.7.

burntoc commented 2 years ago

I couldn't recreate this issue on any of my devices, but I have made a few alterations to the code, which I hope helps your situation in v2.0.5.7.

Thanks for taking a look quickly. I'll update now and let you know if I see the same behavior - if so it shouldn't take long to crop up.

UPDATE - Looks fixed, just seeing a single subprocess, ~2.5MB memory usage. Thanks again.