AppFlowy-IO / AppFlowy-IO/AppFlowy

[FR] Free RAM

Ouverte
#3,714 2 commentaires 2 réactions 1 personne assignée Assignée à @LucasXu0 Voir sur GitHub
2024 bug
Langage dominant
Dart
Étoiles
76.6k
Forks
6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.