MAUI/Blazor memory leak? And WebView2 odd behaviour #10589
Unanswered
sbrookesAngular
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a Windows app proof of concept in various cross platform technologies that must be very performant. I have a couple of issues with MAUI/Blazor Hybrid that I need to find some answers for:
#1
The MAUI/Blazor Hybrid POC has some odd behavior. I understand that MAUI/Blazor requires WebView2 as a dependency. Sometimes when the app is launched, looking at the Task Manager there are 0 instances of WebView2 running. After completely closing that instance of the POC, and opening the POC, there are multiple instances of WebView2 under the POC in Task Manager. I cannot find any explanation for how or why this happens out on the forums. Or how to prevent this from happening.
Does anyone know why there are no WebView2 instances on the first opening of the app? Do you know why so many instances of WebView2 occur on subsequent openings? Or how to stop multiple instances of WebView2 from opening? (I’ve seen a similar behavior of WebView2 instances using NeutralinoJS by the way)
#2
I have also seen a significant amount of what I can assume is “memory leak” as the more the app is used, the more MB’s are being used; it seems like the app is not letting go of memory. Upon opening, the app use around 160MB but as the app is used, memory balloons up to over 500MBs.Does anyone know why this happens?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions