-
-
Notifications
You must be signed in to change notification settings - Fork 64
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]: Memory leak #824
Comments
Thanks for the report! Just to make sure, this is the main/"Home" timeline right? If that's so, that's unfortunately expected. The TL:DR is #798 (comment) but here's another: Due to the lists used in timelines, nothing gets freed based on scroll position, but the current alternatives have other limitations and issues. If that's the case then I'll close this, since it doesn't add anything to the already open ones on this matter |
Yes.
I mean, sure. But a gigabyte of memory just to store a hundred or so posts? That's a bit of a stretch, isn't it? |
Maybe, maybe not. Nothing comes for free, complex widgets, images, network cache, websockets, json deserialization, html to native widgets convertion... are some of the many layers a timeline is under, it's not just 'storing a few posts'. Per the linked issues, the ideal solution is to move to a recycler list, like ListViews, so everything gets destroyed and freed as the scrolling position changes. If you manage to find areas where the current implementation can improve, let me know! In the meantime, I'll go ahead and close this issue as it doesn't provide anything new |
Describe the bug
Just that. Huge memory leak when viewing the main timeline. Both v0.6.3 and the latest git (1ffa7cd) are affected.
Steps To Reproduce
Logs and/or Screenshots
Console logs:
Instance Backend
Pleroma
Operating System
NixOS Unstable
Package
OS repositories
Troubleshooting information
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: