commit | 2b4bc2fddbf61d6ccb7b54782b425e4c8aba7e08 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Thu Jan 12 17:33:57 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 12 17:33:57 2023 +0000 |
tree | 1e5e7b6f278f27e54db4fc92b48d5ab772a5b72f | |
parent | ed2491cf201bb42e5a3e9b477a40e3d01c2b5acc [diff] | |
parent | 36b259f1e901a87814fa3e88c07ffe189130426e [diff] |
Merge "Increase ram usage estimate in multiproduct_kati"
diff --git a/cmd/multiproduct_kati/main.go b/cmd/multiproduct_kati/main.go index d8d5e5d..0115f4a 100644 --- a/cmd/multiproduct_kati/main.go +++ b/cmd/multiproduct_kati/main.go
@@ -321,7 +321,7 @@ jobs = runtime.NumCPU() / 4 ramGb := int(detectTotalRAM() / (1024 * 1024 * 1024)) - if ramJobs := ramGb / 30; ramGb > 0 && jobs > ramJobs { + if ramJobs := ramGb / 40; ramGb > 0 && jobs > ramJobs { jobs = ramJobs }