When I refresh the webpage in windows 11 the ram consumption increases a lot. I think this is because it creates a context each time you refresh and also you need to be careful if you use https://wails.io/docs/reference/options/OnDomReady because it will trigger the event each time you refresh
To Reproduce
Open the app the right click and click "Refresh" or you can just use "Ctrl + R"
Expected behaviour
I think it shouldn't increase memory consumption
Screenshots
No response
Attempted Fixes
No response
System Details
DEB | Using go webview2loader
Wails CLI v2.5.1
SUCCESS Done.
# System
OS | Windows 10 Pro
Version | 2009 (Build: 22621)
ID | 22H2
Go Version | go1.21.0
Platform | windows
Architecture | amd64
# Wails
Version | v2.5.1
# Dependencies
Dependency | Package Name | Status | Version
WebView2 | N/A | Installed | 116.0.1938.62
Nodejs | N/A | Installed | 18.0.0
npm | N/A | Installed | 8.6.0
*upx | N/A | Available |
*nsis | N/A | Available |
* - Optional Dependency
# Diagnosis
Your system is ready for Wails development!
Optional package(s) installation details:
- upx : Available at https://upx.github.io/
- nsis : More info at https://wails.io/docs/guides/windows-installer/
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
Description
When I refresh the webpage in windows 11 the ram consumption increases a lot. I think this is because it creates a context each time you refresh and also you need to be careful if you use https://wails.io/docs/reference/options/
OnDomReady
because it will trigger the event each time you refreshTo Reproduce
Open the app the right click and click "Refresh" or you can just use "Ctrl + R"
Expected behaviour
I think it shouldn't increase memory consumption
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response