dwarvesf / dwarvesf/hidden

Memory Leak & Recommended To Include An Automatic Restart Script

Open
#361 0 comments 1 reaction 0 assignees View on GitHub
bug High priority memory
Dominant language
Swift
Stars
14.7k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

### 中文
随着时间进行内存会逐渐增大,应用数量没有增多

Image
这是开启大约一天之后的内存占用量

Image
这是刚刚启动的内存占用量,明显的可以发现差了整整四倍

目前我的解决方案是写了一个运行四小时自动重启的脚本,虽然可以解决内存占用问题,但是还是建议使用AI扫描一下项目,项目的内存泄露问题虽然有了很大的改善(之前会占用到1个G来着),但是还是尽量修复一下下,但是其实你们内置一下自动关闭和打开的脚本也是一个很好的方案

### EngLish
Memory usage gradually increases over time, but the number of applications remains the same.

Image This shows the memory usage after about a day of operation.

Image This shows the memory usage immediately after startup; it's clearly four times higher.

My current solution is a script that automatically restarts after four hours. While this addresses the memory usage issue, I still recommend scanning the project with AI. Although the memory leak problem has been significantly improved (previously it used to consume up to 1GB), it's still best to fix it first.However, having a built-in script for automatically closing and opening the window is also a good solution.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.