Skip to content

Commit

Permalink
Reduce concurrently of LTO build.
Browse files Browse the repository at this point in the history
The official build started to fail due to OOM from time to time.
Once we moved from full LTO to ThinLTO, this issue will go away completely.

BUG=650867

Review-Url: https://codereview.chromium.org/2378163002
Cr-Commit-Position: refs/heads/master@{#421607}
  • Loading branch information
krasin authored and Commit bot committed Sep 28, 2016
1 parent 188a5ae commit 6874a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/toolchain/concurrent_links.gni
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ declare_args() {
if (concurrent_links == -1) {
if (allow_posix_link_time_opt || is_cfi) {
_args = [
"--mem_per_link_gb=24",
"--reserve_mem_gb=10",
"--mem_per_link_gb=26",
"--reserve_mem_gb=20",
]
} else if (is_win) {
_args = [ "--mem_per_link_gb=5" ]
Expand Down

0 comments on commit 6874a3b

Please sign in to comment.