Skip to content

Commit

Permalink
Lower the default max-memory usage of pantsd. (#10287)
Browse files Browse the repository at this point in the history
### 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]
  • Loading branch information
stuhood committed Jul 7, 2020
1 parent 02a2d32 commit e5eed25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/option/global_options.py
Expand Up @@ -547,7 +547,7 @@ def register_bootstrap_options(cls, register):
"--pantsd-max-memory-usage",
advanced=True,
type=int,
default=2 ** 32,
default=2 ** 30,
help=(
"The maximum memory usage of a pantsd process (in bytes). There is at most one "
"pantsd process per workspace."
Expand Down

0 comments on commit e5eed25

Please sign in to comment.