Skip to content

Reduce RAM Memory Usage #1436

@CaptainMorgan12

Description

@CaptainMorgan12

Describe the bug

Environment: furios trixie, tuba 0.9.2 flatpak install.

It varies but typically Tuba uses 100-500MB of ram depending on time app has been running or how far back you go in feed. That is more than firefox on mobile on my phone.

For memory constrained devices it would be good to limit ram usage more.

Image

Steps To Reproduce

  1. Scroll back in time on feed
  2. select 10 -20 posts per load batch
  3. select 1-2 external links opening firefox
  4. 24hrs = ~ 650MB
  5. 48hrs =~ 716MB
  6. at which point it doesnt let you scroll back further in time in the feed

RAM correlates to posts loaded, number of users you follow and hence # posts per day, and one solution maybe to reduce resolution of images in feed during loading, not prefetch linked content (if it does that?), trim memory similar to firefox when app is in background (not being used)

Logs and/or Screenshots

<paste your logs here>

Instance Backend

social.librem.one

Operating System

furios trixie

Package

Flatpak

Troubleshooting information

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions