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

Issue 2882513003: Allocate memory in smaller chunks for chrome://memory-exhaust/ (Closed)

Created:
3 years, 7 months ago by hans
Modified:
3 years, 7 months ago
CC:
chromium-reviews, nasko+codewatch_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allocate memory in smaller chunks for chrome://memory-exhaust/ The memory-exhaustion loop could cause DbgHelp's SymFromAddr() to hang in certain build configs (32-bit Windows Clang debug builds), causing MetricsServiceBrowserTest.OOMRenderers to hang while generating the backtrace after the OOM exception. Reducing the allocation size seems to help. BUG=692564 TBR=jochen Review-Url: https://codereview.chromium.org/2882513003 Cr-Commit-Position: refs/heads/master@{#471138} Committed: https://chromium.googlesource.com/chromium/src/+/7cf2f122818ad39afafea382ecf2a6cee9d350fd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/renderer/render_frame_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (10 generated)
hans
Let's see if the buildbots like it, then please take a look.
3 years, 7 months ago (2017-05-11 22:12:52 UTC) #4
hans
+jochen for ownership, and I think you might have written or touched this code
3 years, 7 months ago (2017-05-11 22:13:21 UTC) #6
Nico
I vaguely remember that Will touched this code at some point, so +him lgtm – ...
3 years, 7 months ago (2017-05-11 22:14:24 UTC) #7
Nico
And I think this CL is inconsequential enough that you can TBR (especially given that ...
3 years, 7 months ago (2017-05-11 22:15:25 UTC) #8
Will Harris
oh wow nice find, I'm amazed this makes a difference... lgtm if the bots like ...
3 years, 7 months ago (2017-05-11 22:18:26 UTC) #9
hans
On 2017/05/11 22:15:25, Nico wrote: > And I think this CL is inconsequential enough that ...
3 years, 7 months ago (2017-05-11 23:14:44 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/2882513003/1
3 years, 7 months ago (2017-05-11 23:15:58 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/7cf2f122818ad39afafea382ecf2a6cee9d350fd
3 years, 7 months ago (2017-05-12 00:19:27 UTC) #18
hans
3 years, 7 months ago (2017-05-12 16:40:14 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2881793002/ by hans@chromium.org.

The reason for reverting is: This fixed the test in one build configuration but
made it hang in another one instead (see bug).

I'll come up with a less magic and more effective fix..

Powered by Google App Engine
This is Rietveld 408576698