Memory management - freeing memory for unused dependencies #43
Unanswered
ondrejstasek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to manually or, even better, automatically free the memory of no-longer-used dependencies?
For example, we have a dependency that is quite memory-heavy, but the user needs it only on specific screens. Once the user navigates out of this context, the dependency will not be used again. It would be great if we could define a scope in which the dependency should live, and once the app is out of that scope, the memory for these dependencies could be freed.
Beta Was this translation helpful? Give feedback.
All reactions