Skip to content

Investigate the use of runtime/debug.FreeOSMemory when the app goes in the background #6547

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

Open
jrainville opened this issue Apr 22, 2025 · 1 comment
Assignees
Milestone

Comments

@jrainville
Copy link
Member

As found here by @osmaczko , there is a Go function that can force fgreeing the memory from the OS, since the GC can be a bit greedy.

This task is to see if that is a good idea.

@jrainville
Copy link
Member Author

@ilmotta I created this task so we do not forget about testing this. Feel free to move it to the next milestone if you don't think it's doable in 2.34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Code Review
Development

No branches or pull requests

2 participants