ExplorerPatcher icon indicating copy to clipboard operation
ExplorerPatcher copied to clipboard

High system load due to weather widget

Open klamann opened this issue 1 year ago • 3 comments

Hi, the weather widget frequently causes 100% load on a single CPU core and eats up several gigabytes of RAM until I kill the process.

The actual process that causes this is msedgewebview2.exe, but in the parameter list I found --user-data-dir=C:\Users\$user\AppData\Roaming\ExplorerPatcher\ep_weather_host\EBWebView, so I assume this belongs to the weather widget of ExplorerPatcher. Please note that this process will not terminate by itself, no matter how long I wait. Sometimes, more than one instance of msedgewebview2.exe will run, each of which will cause 100% load on a CPU core and eat up several gigabytes of RAM.

Obviously, this is a huge waste of resources. I deactivated the weather widget for now, but I would really like to use it again. It used to work just fine at some point (or maybe it didn't and I never noticed until now, not sure).

Here's the full command of one of the rogue processes

C:\Program Files (x86)\Microsoft\EdgeWebView\Application\117.0.2045.31\msedgewebview2.exe
--type=renderer
--noerrdialogs
--user-data-dir=C:\Users\$user\AppData\Roaming\ExplorerPatcher\ep_weather_host\EBWebView
--webview-exe-name=DllHost.exe
--webview-exe-version=10.0.22621.1
--embedded-browser-webview=1
--embedded-browser-webview-dpi-awareness=2
--allow-insecure-localhost
--disable-nacl
 --lang=en-US
 --device-scale-factor=1.5
 --num-raster-threads=4
 --enable-main-frame-before-activation
 --renderer-client-id=21
 --js-flags=--harmony-weak-refs-with-cleanup-some --expose-gc --ms-user-locale=
 --time-ticks-at-unix-epoch=-1694861191320129
 --launch-time-ticks=176828484328
 --mojo-platform-channel-handle=4120
 --field-trial-handle=1700,i,7277938594809185694,725846773577493383,262144
 --enable-features=MojoIpcz,msSingleSignOnOSForPrimaryAccountIsShared
 /pfhostedapp:039cfc2eab642feb6a5fcd8c7792da43c491ecfb
 /prefetch:1

and here's another instance

C:\Program Files (x86)\Microsoft\EdgeWebView\Application\117.0.2045.31\msedgewebview2.exe
--embedded-browser-webview=1
--webview-exe-name=DllHost.exe
--webview-exe-version=10.0.22621.1
--user-data-dir=C:\Users\$user\AppData\Roaming\ExplorerPatcher\ep_weather_host\EBWebView
--noerrdialogs
--embedded-browser-webview-dpi-awareness=2
--allow-insecure-localhost
--disable-site-isolation-trials
--disable-web-security
 --enable-features=MojoIpcz,msSingleSignOnOSForPrimaryAccountIsShared
 --lang=en-US
 --mojo-named-platform-channel-pipe=8312.8388.7450525086601872397
 /pfhostedapp:039cfc2eab642feb6a5fcd8c7792da43c491ecfb

both of these were running at the same time at 200% CPU load, ~4GB RAM in total, about 5 minutes after I woke up my PC from standby.

klamann avatar Sep 19 '23 10:09 klamann

This problem has been there since at least June 2022. It only occurs when returning from S3 standby and even then maybe every other time. I haven't reproduced this on Modern Standby (S0) machine.

Bec-de-Xorbin avatar Oct 31 '23 17:10 Bec-de-Xorbin

Does this happen if you uninstall EP and reboot? Then try going into stand by s0 mode and wake up from it?

pyrates999 avatar Nov 01 '23 08:11 pyrates999

This is a duplicate of: https://github.com/valinet/ExplorerPatcher/issues/1289

Please close this.

pyrates999 avatar Nov 01 '23 08:11 pyrates999