Merge "Increase ram usage estimate in multiproduct_kati"

This commit is contained in:
Cole Faust
2023-01-12 17:33:57 +00:00
committed by Gerrit Code Review

View File

@@ -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
}