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

Bugfix: Actively reduce memory use in memcache filestore #3935

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

scudette
Copy link
Contributor

@scudette scudette commented Dec 3, 2024

This PR forces synchronous writing when memory utilization is exceeded in the memcache filestore. By writing synchronously we can push back against writers to ensure that memory can be cleared before we take on new writes. Previously this flushing was asynchronous which means there was no guarantee that memory was properly flushed - leading to an uncontrolled increase in memory use.

Fixes: #3906

This PR forces synchronous writing when memory utilization is exceeded
in the memcache filestore. By writing synchronously we can push back
against writers to ensure that memory can be cleared before we take on
new writes. Previously this flushing was asynchronous which means
there was no guarantee that memory was properly flushed - leading to
an uncontrolled increase in memory use.
@scudette scudette merged commit ce0be80 into master Dec 3, 2024
3 checks passed
@scudette scudette deleted the memcache branch December 3, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memcache consuming too much memory when importing large archives
1 participant