question

SalandriPrathyusha-8857 avatar image
0 Votes"
SalandriPrathyusha-8857 asked SalandriPrathyusha-8857 edited

Webview2Loader is consuming more memory when WebResourceResponseReceived event is raised multiple times

I found out that whenever WebResourceResponseReceived is raised, the Webview2Loader's unmanaged memory is getting increased. My WPF app is using the WebView2 control to embed the content of a web application. This web app refreshes every 5sec and for each refresh the WebResourceResponseReceived event is raised, thereby the WPF app memory is going high. With evergreen version as runtime, the memory gets cleared when the web application app pool is recycled but with the Fixed version of runtime even with app pool recycle the memory is not getting cleared.
I would like to know the working of fixed version runtime here and why is it not recommended other than its limitations of high disk space and no auto updates.

Version
SDK: 1.0.1150.38
Runtime: Evergreen 101.0.1210.39, Fixed 101.0.1210.32.
Framework: WPF
OS: Win10

ms-edge
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SalandriPrathyusha-8857,

Based on your description, I'm afraid I can't determine your actual requirement. If possible, can you describe it clearly? In addition, we do not recommend that you use the fixed version of the webview2 runtime.

0 Votes 0 ·

0 Answers