diff options
| author | 2022-10-10 10:16:23 -0700 | |
|---|---|---|
| committer | 2022-10-10 10:16:23 -0700 | |
| commit | bb5bb5e242fba18f7820ce14330f81afb8d76505 (patch) | |
| tree | 62bb2beb154408c400dddcf73aae2022faa5abf3 /tools/releasetools/test_utils.py | |
| parent | 6fcd760988aa06b8a2eeb5b972400b8e441604dc (diff) | |
Limit cts-api-coverage parallelism to 8
cts-api-coverage is getting OOM killed in presubmit, likely due to
spawning a copy of dexdeps in parallel for every cpu in the system.
Limit it to 8 parallel subprocesses when running inside the build,
as other processes are likely already using cpu and memory.
Bug: 252817769
Test: m out/host/linux-x86/cts-api-coverage/system-api-coverage.html
Change-Id: Iaae6561ac173d32c1b5af895cab76f3f898da4bb
Diffstat (limited to 'tools/releasetools/test_utils.py')
0 files changed, 0 insertions, 0 deletions