You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running ./pants test src/python/pants/backend/project_info/count_loc_test.py in the checkout (c0386fe) of Pants repository, Pants fails with an error message:
E ValueError: Could not initialize store for cache: "Error making env for store at \"/home/username/.cache/pants/lmdb_store/cache/3\": Cannot allocate memory"
This has likely to do something with the ARM architecture / memory management specifics.
Running ./pants version also results in an error:
$ ./pants version
22:14:41.60 [INFO] Starting: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.19.0
22:14:49.15 [INFO] Completed: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.19.0
22:14:51.80 [INFO] Initializing scheduler...
22:14:51.97 [ERROR] Could not initialize store for cache: "Error making env for store at \"/home/username/.cache/pants/lmdb_store/cache/2\": Cannot allocate memory"
...
File "/home/username/pants/src/python/pants/engine/internals/scheduler.py", line 214, in __init__
self._py_scheduler = native_engine.scheduler_create(
ValueError: Could not initialize store for cache: "Error making env for store at \"/home/username/.cache/pants/lmdb_store/cache/2\": Cannot allocate memory"
Use -ldebug for more logs.
See https://www.pantsbuild.org/v2.13/docs/troubleshooting for common issues.
Consider reaching out for help: https://www.pantsbuild.org/v2.13/docs/getting-help
Describe the bug
When running
./pants test src/python/pants/backend/project_info/count_loc_test.py
in the checkout (c0386fe) of Pants repository, Pants fails with an error message:This has likely to do something with the ARM architecture / memory management specifics.
Running
./pants version
also results in an error:Running the
version
command with an option set is fine, see https://www.pantsbuild.org/docs/reference-global#section-local-store-files-max-size-bytes:However, running the tests setting various values for the option doesn't seem to have any effect -- the tests still fail.
Pants version
2.13.0.dev2
OS
Additional info
The text was updated successfully, but these errors were encountered: