commit | 9db406c81121730ffa54176be19745e2996e64a7 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Oct 18 09:54:11 2021 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Oct 19 14:40:11 2021 +0000 |
tree | addaa5c2260243a045746e6d1e3f33f4543ae555 | |
parent | b9b436fe17802e1a73e44e27e4a53a5b35b63578 [diff] |
Up per-product memory usage to 30 GB Reduce multiproduct_kati parallelism by upping required memory per product to 30 GB. Bug: 201671935 Test: builds Change-Id: Ia756f309459d28e22a49f190a5227a139b356a1f Merged-In: Ia756f309459d28e22a49f190a5227a139b356a1f
diff --git a/cmd/multiproduct_kati/main.go b/cmd/multiproduct_kati/main.go index 55a5470..c7adbbd 100644 --- a/cmd/multiproduct_kati/main.go +++ b/cmd/multiproduct_kati/main.go
@@ -244,7 +244,7 @@ jobs = runtime.NumCPU() / 4 ramGb := int(config.TotalRAM() / 1024 / 1024 / 1024) - if ramJobs := ramGb / 25; ramGb > 0 && jobs > ramJobs { + if ramJobs := ramGb / 30; ramGb > 0 && jobs > ramJobs { jobs = ramJobs }