Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3423)

Unified Diff: build/toolchain/get_concurrent_links.py

Issue 1989083003: Reserve more RAM per Gold process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/get_concurrent_links.py
diff --git a/build/toolchain/get_concurrent_links.py b/build/toolchain/get_concurrent_links.py
index c1fbc8bfb7999b760ad0a1cd091a9cc7dddbbcae..4a66dd398f5f9a186d2b899490978d964caff2be 100644
--- a/build/toolchain/get_concurrent_links.py
+++ b/build/toolchain/get_concurrent_links.py
@@ -55,7 +55,7 @@ def _GetDefaultConcurrentLinks(is_lto):
if is_lto:
mem_total_gb -= 10 # Reserve
# For LTO builds the RAM requirements are even higher
- mem_per_link_gb = 16
+ mem_per_link_gb = 24
return int(max(1, mem_total_gb / mem_per_link_gb))
return 1
elif sys.platform == 'darwin':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698