-
Notifications
You must be signed in to change notification settings - Fork 112
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
allocator purge exposure ? #436
Comments
The nearest bit is snmalloc/src/mem/chunkallocator.h Lines 147 to 178 in b1da339
This on a timer pushes unused chunks of memory back into central pools and decommits them. I want to get LowMemory notifications to call a modified version of this. Your question makes me think that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jemalloc provides the ability to purge a specific arena via mallctl with the oid 'arena.[id].purge', so I was wondering if the feature closest to it would be
LocalAllocator::flush()
(or literallyteardown
in the upper level) and it was a good idea to expose such capability as C symbol ?The text was updated successfully, but these errors were encountered: