Win10As icon indicating copy to clipboard operation
Win10As copied to clipboard

Causing 100% CPU usage

Open ikrowni opened this issue 7 years ago • 10 comments

This program seems to immediately hit my CPU for 100% usage.

core i5-4670k 4.6ghz windows 10 x64

ikrowni avatar Feb 10 '18 21:02 ikrowni

Does it drop or is it always 100% while running?

KjetilSv avatar Feb 15 '18 11:02 KjetilSv

When I first started it up it's about 35% then after about 20 seconds it spikes up to 100% and stays there. Sometimes i have to manually turn the PC off because it becomes completely unresponsive.

ikrowni avatar Feb 15 '18 18:02 ikrowni

Are you sure you're able to connect to the MQTT server? I have seen instances (not in this project, but other mqtt-based projects) where if the mqtt server can't connect or otherwise has a connection issue, the cpu spikes.

On Thu, Feb 15, 2018 at 10:04 AM, KROWN [email protected] wrote:

When I first started it up it's about 35% then after about 20 seconds it spikes up to 100% and stays there. Sometimes i have to manually turn the PC off because it becomes completely unresponsive.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KjetilSv/Win10As/issues/3#issuecomment-366011671, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMeWslUEqOpDN0Pmd7RcwX6PFecvlRyks5tVHHIgaJpZM4SBF6e .

-- mike megally

cmsimike avatar Feb 15 '18 18:02 cmsimike

Now im running into a new issue. I uninstalled the software thinking maybe it was abandoned and now when i try to run it again and go to settings im getting an error.

capture

ikrowni avatar Feb 15 '18 19:02 ikrowni

Just tried it on another PC also windows 10 x64 and im having the same results as before. CPU starts at about 35% upon opening the program and then it just slowly keeps climbing until it hits 100%. The only item i have checked is the "volume sensor".

When i click "Test Connection" i get "Connection ok"

ikrowni avatar Feb 15 '18 19:02 ikrowni

This performance issue is only on Release. On Debug output, processor usage by the app is ~1-3% (max of 5%). Also, this error that screenshot you've provided is also only in the release build. I think something is messed up with release configuration.

michalchecinski avatar Sep 08 '18 11:09 michalchecinski

Hi.

Same issue here.

Do you any solution?

Thanks

joseaguardia avatar Nov 20 '18 11:11 joseaguardia

Other than just delete it idk. Tried it on multiple computers all being Intel though. Maybe try on an amd? And if that don't work I'm calling it completely broken.

ikrowni avatar Nov 20 '18 14:11 ikrowni

just upgraded to a new pc with an amd 2700x and the problem is still there.

ikrowni avatar Feb 20 '19 02:02 ikrowni

I tracked it down to the audioswitcher module, please try out the fixed build and report back :-)

fabsenet avatar Nov 04 '19 16:11 fabsenet