Skip to content

Commit 5d5cb32

Browse files
committed
Reduce nextest threads to 8 (#4846)
## Issue Addressed Fix OOMs caused by too many concurrent tests. The runner machine is currently liable to run `32 * 5 = 160` tests in parallel. If each test uses say 300MB max, this is 48GB of RAM! ## Proposed Changes Reduce the number of threads per runner job to 8. This should cap the memory at 4x lower than the current limit, i.e. around 12GB. If we continue to run out of RAM, we should consider more sophisticated limits.
1 parent 1b4545c commit 5d5cb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.config/nextest.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ retries = 0
2020

2121
# The number of threads to run tests with. Supported values are either an integer or
2222
# the string "num-cpus". Can be overridden through the `--test-threads` option.
23-
test-threads = "num-cpus"
23+
test-threads = 8
2424

2525
# The number of threads required for each test. This is generally used in overrides to
2626
# mark certain tests as heavier than others. However, it can also be set as a global parameter.

0 commit comments

Comments
 (0)