diff options
author | Colin Cross <ccross@android.com> | 2021-10-18 09:54:11 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-10-19 14:40:11 +0000 |
commit | 9db406c81121730ffa54176be19745e2996e64a7 (patch) | |
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
-rw-r--r-- | cmd/multiproduct_kati/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/multiproduct_kati/main.go b/cmd/multiproduct_kati/main.go index 55a5470e3..c7adbbd63 100644 --- a/cmd/multiproduct_kati/main.go +++ b/cmd/multiproduct_kati/main.go @@ -244,7 +244,7 @@ func main() { 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 } |