Skip to content

Excessive RAM usage when adding tags to images #38

@restartxx

Description

@restartxx

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:

  • Larger images (8MB, 15MB, 20MB): RAM usage spikes to 2GB or more, causing Localbooru to close.
  • Smaller images (3MB): RAM usage ranges from 300MB to 600MB, still leading to slow performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions