28,655 questions
Conditions for Displaying 'Low on Memory' Pop-up in Windows Application
Kazuki Yagi
20
Reputation points
- Environment:
- Windows 7
- Windows 10
- WebView2 version 107
- Windows 10
- Question: When using the application (WebView2) consecutively on Windows, a 'Low on memory' pop-up is displayed. I would like to know the conditions under which this 'Low on memory' pop-up is displayed. I believe the conditions are likely the same for both Windows 7 and 10, but are there any differences in conditions for each edition?
- Desired Action: I am looking to programmatically retrieve the conditions for displaying the 'Low on memory' pop-up (e.g., Committed Bytes that can be obtained from Performance Monitor) using C# and perform the necessary actions based on this information.
What I Know So Far:
- The counters in Performance Monitor (% Committed Bytes In Use, Pool Paged Byte, Pool Nonpaged Byte) are consistently increasing.
- The cause of the memory leak is WebView2.
- When the 'out of memory' pop-up is displayed, the value of % Committed Bytes In Use exceeds 90%.
Your assistance is much appreciated. Thank you!
Windows for business Windows Client for IT Pros User experience Other
Sign in to answer