AzurLaneAutoScript
AzurLaneAutoScript copied to clipboard
内存占用过多
Describe the bug 更新新版本后/使用紧急委托刷钻石模式,在长时间运行下内存占用会变多,但是并不影响程序的运行
在使用Ctrl R刷新之后,内存占用会显著下降
Screenshots
刷新前:
刷新后:

Log Post the entire log snippet that caused you to receive the error
复现步骤
- 将刷新任务队列的刷新间隔从 10 秒修改至 0.01 秒。 https://github.com/LmeSzinc/AzurLaneAutoScript/blob/a60f523e9ef5221b3802bddeaaa69ca917ca114c/gui.py#L415
- 重启 Alas,切换至总览页.
- 将 Alas 最小化或收起至托盘,内存占用以 10-20 MB/s 的速度增加。
- 重新切换至前台后,内存占用恢复正常。
其他尝试
- 使用 gui.py 启动后端并使用 Chrome 浏览器访问,将 Chrome 最小化后同样复现。
- 死循环打印 log,内存占用波动但总体不增加。