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

Issue 2767693002: Split browser.lib to avoid hitting 4 GB limit (Closed)

Created:
3 years, 9 months ago by brucedawson
Modified:
3 years, 9 months ago
Reviewers:
brettw
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Split browser.lib to avoid hitting 4 GB limit In some build configurations on Windows (official build, goma with symbol_level = 2) browser.lib can grow to about 4 GB which leads to cryptic build failures. Rather than trying to carefully calculate which configurations need to split browser.lib it is simpler to just always split it on Windows. There is no real 'cost' for doing this other than some potential confusion when developers look at the build internals. Instead of building obj\chrome\browser\browser.lib the files built will be obj\chrome\browser\browser_?.lib where '?' is 0-4. BUG=701862 Review-Url: https://codereview.chromium.org/2767693002 Cr-Commit-Position: refs/heads/master@{#458961} Committed: https://chromium.googlesource.com/chromium/src/+/69ae14a2e56b0ee3642bd5961fe76704848f68e3

Patch Set 1 #

Patch Set 2 : Split browser.lib always on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/browser/BUILD.gn View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
brucedawson
I wanted your thoughts on this. The problem is that browser.lib grows to ~4 GB ...
3 years, 9 months ago (2017-03-21 19:02:31 UTC) #2
brettw
I think the main reason not to split it is just when people are debugging ...
3 years, 9 months ago (2017-03-22 21:08:23 UTC) #7
brucedawson
Yep, I agree. I updated the CL and finalized the description. I'm also going to ...
3 years, 9 months ago (2017-03-22 21:52:27 UTC) #11
brucedawson
I filed this bug to request an alternative to creating these huge .lib files. Maybe, ...
3 years, 9 months ago (2017-03-22 22:13:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2767693002/20001
3 years, 9 months ago (2017-03-23 00:47:14 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 00:54:55 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/69ae14a2e56b0ee3642bd5961fe7...

Powered by Google App Engine
This is Rietveld 408576698