KjetilSv / Win10As

Make your windows 10 computer IOT friendly
236 stars 42 forks source link

Causing 100% CPU usage #3

Open ikrowni opened 6 years ago

ikrowni commented 6 years ago

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

core i5-4670k 4.6ghz windows 10 x64

KjetilSv commented 6 years ago

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

ikrowni commented 6 years ago

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.

cmsimike commented 6 years ago

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 notifications@github.com 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

ikrowni commented 6 years ago

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 commented 6 years ago

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"

michalchecinski commented 6 years ago

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.

joseaguardia commented 5 years ago

Hi.

Same issue here.

Do you any solution?

Thanks

ikrowni commented 5 years ago

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 commented 5 years ago

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

fabsenet commented 4 years ago

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