abundant-keyboard-19745
04/10/2023, 11:42 PM./pants export
with --no-pantsd
. Is this expected?
[BOOTSTRAP] [INFO] Sending command: /home/jtilahun/devel/monorepo/pants --print-stacktrace --no-export-symlink-python-virtualenv --no-pantsd export --resolve=python-default
[BOOTSTRAP] [WARNING] Received non-zero return code (-6) from /home/jtilahun/devel/monorepo/pants --print-stacktrace --no-export-symlink-python-virtualenv --no-pantsd export --resolve=python-default
[BOOTSTRAP] [WARNING] STDOUT:
[BOOTSTRAP] [WARNING] STDERR: /github/home/.cargo/git/checkouts/lmdb-rs-369bfd26153a2575/6ae7a55/lmdb-sys/lmdb/libraries/liblmdb/m:2126: Assertion 'rc == 0' failed in mdb_page_dirty()
happy-kitchen-89482
04/10/2023, 11:45 PMabundant-keyboard-19745
04/10/2023, 11:48 PMnative_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.
all the time recently. I tried the first two bullet points to no avail, which is why I tried --no-pantsd
. Adding --no-pantsd
led to the strange errorhappy-kitchen-89482
04/11/2023, 12:41 AMabundant-keyboard-19745
04/11/2023, 12:44 AMhappy-kitchen-89482
04/11/2023, 1:44 AMabundant-keyboard-19745
04/11/2023, 5:32 PM--no-pantsd
and then I get the strange error adding --no-pantsd
Linux 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
happy-kitchen-89482
04/11/2023, 6:38 PMabundant-keyboard-19745
04/12/2023, 6:35 PMhappy-kitchen-89482
04/12/2023, 8:49 PM