Runaway RAM usage
Describe the bug: Total system RAM usage continues to grow as the client remains active over time.
To Reproduce Steps to reproduce the behavior:
- Launch the client and login.
- Wait for hours without closing the client
Expected behavior RAM usage remains at a stable lightweight level without threatening system stability.
Environment
- OS: Windows 11
- Version: Chieri 23.0.3
- Your instance: universeodon.com
Suggested approach to fix: Create a system that automatically purges older toots from memory after an arbitrary (set by user?) toot quantity or RAM limit has been reached, that can fetch them again from the server in the unlikely event the user continues to scroll the feed that far. While you're at it, it wouldn't hurt to implement support for Mastodon's "slow mode" feature.
Unfortunatly, we do not have any resource to optimize fundamentally TheDesk. It is too giant and outdated to do. A toot element will be removed when it is over 30th toot of its column. And this software does not use virtual DOM(e.g. React, Vue), which stores DOM data in RAM. We are trying to reduce RAM usage in our limited resource, appreciate your understanding.