resucutie / localbooru

Cross platform local booru collection that exclusively works on local storage, without selfhosting
GNU General Public License v3.0
36 stars 1 forks source link

Excessive RAM usage when adding tags to images #38

Open restartxx opened 1 week ago

restartxx commented 1 week ago

Describe the bug: When I try to add tags to images, the RAM usage increases significantly, which may cause the app to close or lead to slow performance on the device, especially when importing multiple images at once. The RAM increase happens immediately when I click on the tag input field, even without actually adding a tag.

To Reproduce Steps to reproduce the behavior:

Select one or more images in Localbooru. Click on the tag input field. Observe the increase in RAM usage, which may cause the app to close or lead to slow performance. Expected behavior The app should handle tag input smoothly without causing significant increases in RAM usage. The app should remain responsive and stable, even when adding tags to images, without affecting the overall performance of the device.

Screenshots Screenshot_20241111_232735

System information:

• Device: Samsung S20 FE • OS: Android 13 • Version: 1.6.0+prerelease3 (Kuroodod)

Additional context • The data provided is based on tests I conducted with images of different sizes:

resucutie commented 6 days ago

Will have to check on my computer. Flutter has lots of RAM issues with loading multiple images