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

Uncontrolled memory consumption during pants check :: with 395 resolves #20568

Open
grihabor opened this issue Feb 17, 2024 · 0 comments
Open
Labels
backend: Python Python backend-related issues bug

Comments

@grihabor
Copy link
Contributor

grihabor commented Feb 17, 2024

Describe the bug
I've declared 395 resolves, and I'm trying to run mypy. Running pants check :: fails with OOM. The memory consumption >50G quickly escalates during Resolve coarsened targets phase, flag --pantsd-max-memory-usage doesn't help.

Pants version
pants_version = "2.19.0"

OS
Ubuntu 22.04

Additional info
Here is a commit, where you can reproduce the problem.
Here is the slack thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Python Python backend-related issues bug
Projects
None yet
Development

No branches or pull requests

2 participants