pants
pants copied to clipboard
Uncontrolled memory consumption during `pants check ::` with 395 resolves
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