Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36b259f1 authored by Cole Faust's avatar Cole Faust
Browse files

Increase ram usage estimate in multiproduct_kati

multiproduct_kati assumed each build would take ~30GB of RAM,
but it seems it's closer to 40GB now.

The current build_test builds use 7 jobs, so this would bring
us down to 5, which should still keep us under the 6 hour
build time limit as currently these tests are at ~3 hours.

Bug: 262629589
Test: Presubmits
Change-Id: I51af364cc602a3bf7ba85fd8f92c4dd57585abbd
parent e0598a1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ func main() {
		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
		}