libnyanpasu / clash-nyanpasu

Clash Nyanpasu~(∠・ω< )⌒☆​
https://nyanpasu.elaina.moe
GNU General Public License v3.0
9.57k stars 599 forks source link

1.6版本更新后的内存占用问题 #1703

Open LeafRains opened 1 month ago

LeafRains commented 1 month ago

复现步骤 / Step to reproduce

当配置文件中设置过多的代理组时,在主界面停留5分钟左右,其界面webview2内存占用异常高,可达到1G以上,如图所示 image 而当代理组数量较少时,内存占用则为正常的500M不到 具体讨论可见关于更新1.6版本后的占用内存

预期行为 / Expected behaviour

正常内存占用应为500M左右,且不会突然增高

实际行为 / Actual Behaviour

实际上在代理组较多时很容易占用大于1G内存

应用日志 / App logs

由于为GUI问题,日志中似乎为连接信息,故而留空。

备注 / Addition details

No response

环境信息 / Environment information

Win11 23H2,Clash Nyanpasu1.6.0、1.6.1及最新开发版均存在类似问题,但最新开发版情况有所缓解。

自查步骤 / Verify steps

11D-Beyonder commented 1 month ago

MAC 也有这个问题,现在过一段时间就重启应用来清一下内存。

keiko233 commented 1 month ago

彻底解决可能还是需要重构ui,目前mui+framer motion使前端组件显得太重

link https://github.com/libnyanpasu/clash-nyanpasu/issues/1484

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

greenhat616 commented 2 weeks ago

not stale