-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
out of memory 如果长期不关闭 (内存持续增长) #782
Comments
得抽空做一下 profile,应该是之前哪里的 hooks 或者 inMemoryCache 泄露了 |
pre release已经修复,经过我们的长期测试现在内存占用不再爆炸,欢迎使用。 但是考虑到Windows webview的共享特性,如果再出现类似问题建议排查下其他使用webview的程序 |
! [image] (https://github.com/LibNyanpasu/clash-nyanpasu/assets/14361541/c65f9e42-c0e2-4027-88ed-faed0e47034f) VER: 1.5.2 alpha a1f44fd + mihomo alpha 使用半小时后, 内存还是能到1G, kill掉edgewebview2后应用ui会奔溃,点击重载后内存使用恢复。 是否可能和我节点数量有关, 单个组可能有上百个节点, 有40+个组。 |
滚动的地方我们都做了虚拟滚动条,理论上来说应该没有太大关系,有空的时候我再测试优化一下。 最小化这个问题可能和swr和memo有关,仍然需要排查一下。 结合我们的修改,初步判断与route transition似乎有点关系 |
复现步骤 / Step to reproduce
开启程序, 放置一晚
预期行为 / Expected behaviour
能正常使用
实际行为 / Actual Behaviour
空白显示,有类似浏览器的 out of memory, 点击刷新后, 程序界面重载。
应用日志 / App logs
No response
备注 / Addition details
clash core 内存占用正常。
只是ui需要刷新。
Clash Nyanpasu 版本号 / Clash Nyanpasu
1.5.1
Clash 核心及其版本号 / Clash core and version
16fadd2 clash meta(mihomo) alpha
是否为 Pre-release / Is pre-release version
16fadd2
操作系统及版本 / OS version
windows 10
自查步骤 / Verify steps
The text was updated successfully, but these errors were encountered: