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

Issue 2564893002: Revert of Change ExecLinkWrapper to not buffer all tool output (Closed)

Created:
4 years ago by scottmg
Modified:
4 years ago
Reviewers:
brucedawson
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Change ExecLinkWrapper to not buffer all tool output (patchset #2 id:20001 of https://codereview.chromium.org/2558153002/ ) Reason for revert: Reverting under suspicion for crbug.com/672841. Original issue's description: > Change ExecLinkWrapper to not buffer all tool output > > /verbose linking of chrome.dll creates over one GB of output. This > causes ExecLinkWrapper to consume over two GB of memory which leads to > an OOM failure in the 32-bit depot_tools python, and the loss of all > of the valuable output. This change modifies ExecLinkWrapper to > process the output one line at a time, thus avoiding the OOM. > > I've tested that this handles the 1.1 GB of output which the previous > version of this function failed on and I've visually confirmed that the > output looks the same - no extraneous blank lines, for instance, when > displaying warnings, errors, or 1.9 million lines of verbose output. > > I also verified that the script stays idle when waiting for output - > blocking on .readline(). > > BUG=672182 > > Committed: https://crrev.com/5d0d1b0bf01acb3ebe3a5ef27ebf2f3180ab1d1d > Cr-Commit-Position: refs/heads/master@{#437126} TBR=brucedawson@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=672182 Committed: https://crrev.com/8e0b754f6372a0d5fc6d1c1df1597dfb9ac877ed Cr-Commit-Position: refs/heads/master@{#437572}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M build/toolchain/win/tool_wrapper.py View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
scottmg
Created Revert of Change ExecLinkWrapper to not buffer all tool output
4 years ago (2016-12-09 16:14:51 UTC) #2
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/2564893002/1
4 years ago (2016-12-09 16:15:01 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-09 17:20:51 UTC) #6
brucedawson
lgtm - I'll investigate the regression.
4 years ago (2016-12-09 18:30:23 UTC) #7
commit-bot: I haz the power
4 years ago (2016-12-12 14:35:43 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8e0b754f6372a0d5fc6d1c1df1597dfb9ac877ed
Cr-Commit-Position: refs/heads/master@{#437572}

Powered by Google App Engine
This is Rietveld 408576698