[GH-ISSUE #536] 长时间运行后的响应似乎有问题 #2353

Closed
opened 2026-03-01 17:19:56 +03:00 by kerem · 4 comments
Owner

Originally created by @jjj333 on GitHub (Oct 20, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/536

Originally assigned to: @VShawn on GitHub.

在运行较长时间后再用alt-M唤起似乎会卡一会儿(几秒钟)才能显示界面,任务栏图标唤醒也是这样。。。

Originally created by @jjj333 on GitHub (Oct 20, 2023). Original GitHub issue: https://github.com/1Remote/1Remote/issues/536 Originally assigned to: @VShawn on GitHub. 在运行较长时间后再用alt-M唤起似乎会卡一会儿(几秒钟)才能显示界面,任务栏图标唤醒也是这样。。。
kerem 2026-03-01 17:19:56 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Oct 20, 2023):

是的,为了降低内存占用,在后台一段时间后会清理所有缓存,因此长时间不用后,打开界面会有一点卡顿,因为要重建缓存。
我最长的放置时间是电脑挂机48h后,再打开会有一瞬间的卡顿,之后就能恢复UI的显示。

但是,你这边要卡几秒是有问题的,我测试一般在1秒内就恢复响应,释放是因为你电脑的配置较低或资源不足?因为我的测试环境都是开发环境,空闲内存比较多,CPU不高只有I5 10400,无独立显卡。

<!-- gh-comment-id:1772736231 --> @VShawn commented on GitHub (Oct 20, 2023): 是的,为了降低内存占用,在后台一段时间后会清理所有缓存,因此长时间不用后,打开界面会有一点卡顿,因为要重建缓存。 我最长的放置时间是电脑挂机48h后,再打开会有一瞬间的卡顿,之后就能恢复UI的显示。 但是,你这边要卡几秒是有问题的,我测试一般在1秒内就恢复响应,释放是因为你电脑的配置较低或资源不足?因为我的测试环境都是开发环境,空闲内存比较多,CPU不高只有I5 10400,无独立显卡。
Author
Owner

@jjj333 commented on GitHub (Oct 23, 2023):

好吧,G4560+机械硬盘只配拥有卡顿。。。

<!-- gh-comment-id:1774277965 --> @jjj333 commented on GitHub (Oct 23, 2023): 好吧,G4560+机械硬盘只配拥有卡顿。。。
Author
Owner

@VShawn commented on GitHub (Oct 23, 2023):

或许我应该提供一个选项,提供自动清理缓存功能的开关。

<!-- gh-comment-id:1774500170 --> @VShawn commented on GitHub (Oct 23, 2023): 或许我应该提供一个选项,提供自动清理缓存功能的开关。
Author
Owner

@jjj333 commented on GitHub (Oct 25, 2023):

或者只保留最后一个连接的缓存

<!-- gh-comment-id:1779362124 --> @jjj333 commented on GitHub (Oct 25, 2023): 或者只保留最后一个连接的缓存
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#2353
No description provided.