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

Reduce background memory from navigation state #3941

Closed
noproto opened this issue Oct 13, 2024 · 1 comment
Closed

Reduce background memory from navigation state #3941

noproto opened this issue Oct 13, 2024 · 1 comment
Labels
Core+Services HAL, furi & core system services Feature Request New feature or user-story you wanna add to flipper

Comments

@noproto
Copy link
Contributor

noproto commented Oct 13, 2024

Describe the enhancement you're suggesting.

When an app is launched from the main menu, or the file browser (versus the quick launch shortcuts, or ufbt launch) it consumes up to 10.5 KB more RAM. 10500 bytes seems excessive to store what amounts to the user navigation state, and it starves memory intense applications since it represents 8% of the available free memory.

If these are suspended threads, perhaps the smallest representative version of their state needs to be cached instead of the entire application remaining in residual memory.

Anything else?

No response

@skotopes
Copy link
Member

@noproto yep, we know that main menu consumes memory when you launch apps from it. Same goes for archive and couple other places.
We also were experimenting with serializing state and some other ways to reduce system memory foot print. Sadly all of them affect User Experience. So we decided to leave current state of things.

@skotopes skotopes closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2025
@skotopes skotopes added Feature Request New feature or user-story you wanna add to flipper Core+Services HAL, furi & core system services labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core+Services HAL, furi & core system services Feature Request New feature or user-story you wanna add to flipper
Projects
None yet
Development

No branches or pull requests

2 participants