Hey! I’ve not previously had this issue, but Pants...
# general
f
Hey! I’ve not previously had this issue, but Pants now keeps dying with the following error message when I try to run `pants export`:
Copy code
native_engine.PantsdClientException: The pantsd process was killed during the run.

If this was not intentionally done by you, Pants may have been killed by the operating system due to memory overconsumption (i.e. OOM-killed). If you keep seeing this error message, try the troubleshooting steps below. If none of those help, please consider filing a GitHub issue or reaching out on Slack so that we can investigate the possible memory overconsumption (<https://www.pantsbuild.org/docs/getting-help>).
 - Exit other applications, including applications running in the background.
 - Set the global option `--pantsd-max-memory-usage` to reduce Pantsd's memory consumption by retaining less in its in-memory cache (run `./pants help-advanced global`).
 - Disable pantsd with the global option `--no-pantsd` to avoid persisting memory across Pants runs, although you will miss out on additional caching.
This is from a clean clone, and it tries to install all of the dependencies. Obviously I checked whether there is sufficient RAM available (there is).
1
This was caused by reusing the
.cache
folder within a devcontainer, resolved by looking at https://github.com/pantsbuild/pants/issues/18726
👍 1
c
Thanks for closing the loop after the find 💯 🙂
🙏 1