Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Image.network can cause memory leak, if link to GIF was passed #81

Open
dan63047 opened this issue Mar 20, 2024 · 1 comment
Open
Labels
bug Something isn't working help wanted Extra attention is needed Linux That issue related to linux app UI Some issue with UI or feature request, that affect on UI

Comments

@dan63047
Copy link
Owner

dan63047 commented Mar 20, 2024

Describe the bug
Apparently, if you leave Tetra Stats open on a different virtual desktop with Image.network which renders "GIF", it will slowly eat all memory. Funny enough, if you collapse window first, and then go to different virtual desktop, nothing will happen.

How to reproduce

  1. Open osk profile (the only one, that has GIF banner, which is https://tetr.io/user-content/banners/5e32fc85ab319c2ab1beb07c.jpg?rv=1628366386763)
  2. Move window to a different virtual desktop and wait...
  3. After few minutes amount of virtual memory used will drastically increases. (Wait longer and your system will become unusable)
  4. Come back to virtual desktop with Tetra Stats and memory leak will disappear.

Expected behavior
It shouldn't eat that much memory.

Screenshots
Screenshot of RAM graph

Technical information

  • Platform: Linux, Debian 12, XFCE 4, X11
  • App Version: 1.4.1

Additional context
It's pretty much can be Flutter issue, potentially can be related: 1 although i'm not sure since 1. different platform 2. Is my jpg a gif?

Need to investigate this somehow...

@dan63047 dan63047 added bug Something isn't working help wanted Extra attention is needed Linux That issue related to linux app UI Some issue with UI or feature request, that affect on UI labels Mar 20, 2024
@dan63047
Copy link
Owner Author

Flutter memory chart fails to show this...
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed Linux That issue related to linux app UI Some issue with UI or feature request, that affect on UI
Projects
None yet
Development

No branches or pull requests

1 participant