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

Lower the default max-memory usage of pantsd. #10287

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Jul 7, 2020

Problem

The default max memory usage from #10003 was chosen with larger monorepos in mind, and didn't match the expectation of consumers in smaller repos.

Solution

Very large repos will have folks who are able/willing to adjust limits like this to optimize for their repo size, so adjust the default down in favor of having good defaults. This relates to #7675, but it isn't the time to dive in there.

Result

Fixes #10264.

[ci skip-rust-tests]

# Rust tests will be skipped. Delete if not intended.
[ci skip-rust-tests]
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Much better. Thanks.

@stuhood stuhood merged commit e5eed25 into pantsbuild:master Jul 7, 2020
@stuhood stuhood deleted the stuhood/lower-default-memory-limit-for-pantsd branch July 7, 2020 22:11
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.

pantsd leaks memory on ubuntu linux box
2 participants