AudioSwitcher_v1 icon indicating copy to clipboard operation
AudioSwitcher_v1 copied to clipboard

High CPU and Memory Utility

Open Wadera opened this issue 8 years ago • 10 comments
trafficstars

My Set:

  • [1.7.0.117 ] I have listed the Audio Switcher version
  • [ Windows 10 Pro, 1607 ] I have listed my operating system, and version
  • [Analog Speaker, HDMi TV, USB Headset, 2x Camera Mic, Analog Mic ] Include any details about the audio devices on the system

Audio Swither Utilize ~25% CPU Usage and lot of RAM memory.

audioswitherutility

Wadera avatar Jan 30 '17 23:01 Wadera

Does it happen immediately. Or is it after the application has been running for a long time?

xenolightning avatar Jan 30 '17 23:01 xenolightning

CPU - immediately. Memory utilization slowly increases (~1MB / 10 sec).

Wadera avatar Jan 30 '17 23:01 Wadera

Ok, interesting. I wonder if Windows has changed something. I'll investigate it on the same build of Windows and get back to you.

In the meantime, can you screenshot the "Sound Dialog" from Control Panel, showing playback and recording devices, and showing any disabled/disconnected devices. High CPU might be caused by the number of devices on the system.

I may put together a new version tonight, and see if it helps with the problem.

Currently the website is down, which is getting fixed, but I'll upload any new versions to github first and link it in this issue.

xenolightning avatar Jan 30 '17 23:01 xenolightning

Btw, first service on top screen is sppsvc (Microsoft Software Protection Platform Service).

It isn't first time so i decide to send ticket, but I can't reproduce it every time. Thank you for your interest. Let me know if you need more information.

Screenshot below:

1 2 settings hotkeys about uptime

Wadera avatar Jan 30 '17 23:01 Wadera

Awesome! That's a lot of info in those screenshots.

I can't reproduce it immediately either. I wonder if it has to do with the volume monitors on application sound sessions.

A place to start looking might be if the system creates a large amount of sessions. You can view by opening the standard Windows volume mixer, it allows you to control volume per application.

This is one of the only places I could see the application using a large amount of CPU.

Just "brain dumping" here at the moment, not really anything concrete to start investigating.

xenolightning avatar Jan 31 '17 22:01 xenolightning

Can you fix the bug by disconnecting some sound peripherals? Just to know if the issue is related to a peripheral in particular.

vlakoff avatar Mar 18 '17 09:03 vlakoff

Hello, Xeno, firstly thank you for making such a useful app for me <3. Secondly, ever since I upgraded from win7 to win10 I have the same problem with CPU usage. task_manager

vlad-fp avatar Mar 29 '17 12:03 vlad-fp

It may be the same bug described here.

sambul13 avatar Apr 21 '18 13:04 sambul13

Yeah both are related. And it looks to be with the Audio Session code in the api.

Win10 seems to do something different, and takes longer to activate the audio sessions, or they are being activated incorrectly.

I'll be looking at fixing this, and releasing an updated version.

xenolightning avatar Apr 22 '18 21:04 xenolightning

Screenshot_1

I'de like to notice that the problem still exists. 100% usage of probably 1 CPU core on Windows 10 start...

panyann avatar Jan 10 '20 17:01 panyann