Index: build/toolchain/get_concurrent_links.py |
diff --git a/build/toolchain/get_concurrent_links.py b/build/toolchain/get_concurrent_links.py |
index f476f7e02de90243531eb24b0a008e9265c37964..c1fbc8bfb7999b760ad0a1cd091a9cc7dddbbcae 100644 |
--- a/build/toolchain/get_concurrent_links.py |
+++ b/build/toolchain/get_concurrent_links.py |
@@ -53,9 +53,9 @@ def _GetDefaultConcurrentLinks(is_lto): |
# Allow 8Gb per link on Linux because Gold is quite memory hungry |
mem_per_link_gb = 8 |
if is_lto: |
- mem_total_gb -= 20 # Reserve |
+ mem_total_gb -= 10 # Reserve |
# For LTO builds the RAM requirements are even higher |
- mem_per_link_gb = 32 |
+ mem_per_link_gb = 16 |
return int(max(1, mem_total_gb / mem_per_link_gb)) |
return 1 |
elif sys.platform == 'darwin': |