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

[syncd] Make sure notification queue release memory when drained #1427

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Oct 5, 2024

Since there could be burst of notifications, that allocated memory can be over 2GB, but when queue will be drained that memory will not be automatically released. Underlying deque container contains function shrink_to_fit but that is just a request, and usually this function does nothing.

Since there could be burst of notifications, that allocated memory can
be over 2GB, but when queue will be drained that memory will not be
automatically released. Underlying deque container contains function
shrink_to_fit but that is just a request, and usually this function does
nothing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant