AppFlowy-IO / AppFlowy-IO/AppFlowy

[FR] Free RAM

Đang mở
#3,714 2 bình luận 2 reaction 1 người được giao Được giao cho @LucasXu0 Xem trên GitHub
2024 bug
Ngôn ngữ chính
Dart
Star
76.6k
Fork
6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

As the notes are opened, they accumulate in the RAM memory. It would be really nice if the app freed up the RAM when a note was closed.

### Impact

There would be no risk of using too much RAM even with a lot of notes and images.

### Additional Context

Using AppImage in Linux Mint 21.1 XFCE.

To add more information I did a simple test. I openned a new folder and inserted a new note just with a calendar:
![Início do programa consumo RAM](https://github.com/AppFlowy-IO/AppFlowy/assets/95868625/1852c35b-b9f2-4df2-bbd3-ad394f622cb8)

Them, I started to change between the two notes. The ram has started to go up indicating that for every time a note is opened, it is loaded into the ram memory, even if it has already been opened previously:
![Depois de algumas trocas consumo RAM](https://github.com/AppFlowy-IO/AppFlowy/assets/95868625/20b53a5a-0cc3-430e-b1f3-e3a2dcfab1f2)
After about 1 minute of doing this, I got to +100MB of RAM accumulated as the screenshot shows. I waited about 20min to see if the RAM would decrease, but the consumption remains the same. This may seem like an exaggerated test at first, but I believe it is not. A user with a lot of notes that contain calendars, images, tables, etc. will probably reach a very high RAM consumption after some short time of use if they are constantly browsing between their notes.

I think I can't say this is a bug, so that's why I openned like a Feature Request.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.