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

Feature enhancement: support release all tcmalloc reserved not-used memory #789

Closed
hycdong opened this issue Jul 23, 2021 · 0 comments
Closed
Labels
type/enhancement Indicates new feature requests
Milestone

Comments

@hycdong
Copy link
Contributor

hycdong commented Jul 23, 2021

Feature Request

Pegasus now support trying to release tcmalloc reserved not-used memory periodically. We define a max-reserved percentage, if the reserved not-used memory exceed the threshold, server will release the exceeded memory back to operating system. However, sometimes memory increase repaidly before the check triggered. So we need to add a command to release all reserved not-used memory immediately when system memory is seriously short.
NOTICE: Strongly recommend using this command when seriously lack of memory, releasing all reserved memory may affect performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

1 participant