You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an EC2 machine running ubuntu Linux ip-10-1-201-194 5.3.0-1028-aws #30~18.04.1-Ubuntu SMP Mon Jun 22 15:48:21 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Pantsd leaks memory which causes the machine to hang a few times a week.
This was previously resolved in #10003, but it looks like the default value is too high for this box. 4GB still feels like a reasonable default, although we could maybe try to do a better job of choosing it automatically with something like https://crates.io/crates/effective-limits
In this case, it feels like lowering the default in this environment might be reasonable? A shared dev box with 4GB total ram is unusual.
obviously, I don't have enough context. However, as a user, 4gb seems extremely excessive.
so I don't think that is a reasonable default. We need to keep memory free so we can run slack & chrome ;-)
### 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]
We have an EC2 machine running ubuntu
Linux ip-10-1-201-194 5.3.0-1028-aws #30~18.04.1-Ubuntu SMP Mon Jun 22 15:48:21 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Pantsd leaks memory which causes the machine to hang a few times a week.
@stuhood FYI
The text was updated successfully, but these errors were encountered: