Power BI is experiencing a problem with WebView2 running Out of memory. We have identified some of the top causes of this and have the details below. If that does not address your Out of memory problem, we need your help to understand and fix this issue. If you are willing to help out, please reply on this thread or contact us at pbidesktopwebview2issues@service.microsoft.com
Out of Memory cause:
We recently migrated desktop to Webview2 from CefSharp and started seeing a lot of Out of Memory exceptions. We found one of the causes being custom visuals on the report. One of the major culprits is the “Smart Filter” custom visual by OKViz. This visuals has some heavy rendering code. There was a regression in Chromium which makes this problem worse. Having just one of this visual on the page for a column with 12k values, takes ~1400 mb and almost 60 sec to load
For desktop, Cef version as of now is 89 which does not have this regression. Thus it does not reproduce in desktop with CefSharp. It can be reproduced in Edge and in Chrome. Webview2 is based on the latest chrome version and current chrome browser version is 99 both of which have this regression.
Chrome has the fix for this : https://source.chromium.org/chromium/chromium/src/+/85cc07ed1dec997ba68942388158f6462d3a715e
We verified on the Chrome canary channel that we do not run into this issue. For Webview2, this will be picked up in the Edge release 101 which is scheduled for last week of April.
Possible workarounds till the fix rolls out to Chrome and Edge are
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @rahulshevde ,
Thanks for your sharing about checking WebView2 issue in Power BI Desktop, it would help others who may have the same issue on the commnunity.
If anyone wants to help on this issue, you can contact the above e-mail or reply to this post.
Best Regards,
Community Support Team _ Caitlyn