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

Deallocate huge read buffers #18813

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

klauspost
Copy link
Contributor

Description

If a message buffer is excessively huge, release it back so it isn't kept around forever.

Saw a couple of ~50MB buffers in a trace, so it seems like some reads can get up there.

Motivation and Context

Reduce memory kept around

Types of changes

  • Optimization (provides speedup with no functional changes)

If a message buffer is excessively huge, release it back so it isn't kept around forever.
Copy link
Contributor

@fwessels fwessels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshavardhana harshavardhana merged commit 479940b into minio:master Jan 17, 2024
19 checks passed
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.

None yet

3 participants