Skip to content

不使用时内存占用太多 #869

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

Open
5 of 6 tasks
littletree2010 opened this issue Apr 11, 2025 · 2 comments
Open
5 of 6 tasks

不使用时内存占用太多 #869

littletree2010 opened this issue Apr 11, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@littletree2010
Copy link

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

不使用时内存占用太多

该问题是否可以稳定重现?

可重现

重现步骤

正常运行

截图

Image Image

运行日志(zip 文件)

Easydict log 2025-04-11 20-05-56-130.zip

期望结果

改进内存占用

解决方案(可选)

在不查询时开启类似clash的“静默模式”,几乎不占用内存,模式的触发可让用户选择,如上一次查询完30s后/20s后/10s后等。

设备型号 && 系统版本

Apple M2 Air,macOS beta 15.5

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR 来解决该问题
@littletree2010 littletree2010 added the bug Something isn't working label Apr 11, 2025
@littletree2010
Copy link
Author

截图中,同样不使用时,内置大量垃圾的有道占用反而更小

@tisfeng
Copy link
Owner

tisfeng commented Apr 14, 2025

这是一个老问题 #81 ,情况比较复杂,可能要重写服务相关的代码才能解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants