pants icon indicating copy to clipboard operation
pants copied to clipboard

Uncontrolled memory consumption during `pants check ::` with 395 resolves

Open grihabor opened this issue 2 years ago • 0 comments

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

grihabor avatar Feb 17 '24 16:02 grihabor