[Solved] MS Edge Causes Process CPU/Memory Spikes

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
tanwedar
Posts: 4
Joined: Mon Sep 06, 2021 10:18 am

[Solved] MS Edge Causes Process CPU/Memory Spikes

Post by tanwedar »

I'm running 10.10.1 after upgrading from 9.something and it doing the same thing. The OpenJDK process spikes at the same time as the Windows DNS service.

Code: Select all

18:35:43 DEBUG Sending ALIVE...
18:36:14 DEBUG Sending ALIVE...
18:36:45 DEBUG Sending ALIVE...
18:37:15 DEBUG Sending ALIVE...
18:37:21 TRACE Received a M-SEARCH from [192.168.10.98:59227]: M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:dial-multiscreen-org:service:dial:1
USER-AGENT: Microsoft Edge/93.0.961.38 Windows
This happens every ~2 minutes.
Attachments
Untitled.png
Untitled.png (13.17 KiB) Viewed 3163 times
Last edited by tanwedar on Sun Oct 03, 2021 7:40 am, edited 1 time in total.
tanwedar
Posts: 4
Joined: Mon Sep 06, 2021 10:18 am

[Solved] Re: MS Edge Causes Process CPU/Memory Spikes

Post by tanwedar »

Create and run a .reg file with this content:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"EnableMediaRouter"=dword:00000000
If you want to disable it in Chrome use/include:

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"EnableMediaRouter"=dword:00000000
Basically the browsers do a network discovery scan for cast devices every X seconds and it causes a spike. Do note that this key disables casting from the browser. If you want to continue to cast from your browser I suggest only disabling it for one browser and using the other to cast from. In Chrome make sure "Continue running background apps when Google Chrome is closed" is off too in case it matters for the media routing.

Please note I am not affiliated with UMS nor am I giving official support for Microsoft so any changes you make to your system are your own choice and I am not responsible for any frowning, frustration, keyboard smashing, or problems you may have as a result. If you are happy with results I will accept credit though ;)
Post Reply