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

Issue 10908266: Add define to limit recommended offscreen allocations. This avoids some failures (Closed)

Created:
8 years, 3 months ago by reed1
Modified:
8 years, 3 months ago
Reviewers:
pdr., Stephen White
CC:
chromium-reviews, kareng
Visibility:
Public.

Description

Add define to limit recommended offscreen allocations. This avoids some failures where our out-of-memory handlers do not kick in properly. BUG=134626 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156969

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M skia/ext/bitmap_platform_device.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
M skia/ext/bitmap_platform_device_android.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
reed1
control https://chromiumcodereview.appspot.com/9361061
8 years, 3 months ago (2012-09-14 18:26:16 UTC) #1
reed1
8 years, 3 months ago (2012-09-14 18:28:19 UTC) #2
reed1
8 years, 3 months ago (2012-09-14 18:32:31 UTC) #3
Stephen White
Shouldn't we also be doing bitmap_platform_device_win? https://codereview.chromium.org/10908266/diff/1/skia/ext/bitmap_platform_device.h File skia/ext/bitmap_platform_device.h (right): https://codereview.chromium.org/10908266/diff/1/skia/ext/bitmap_platform_device.h#newcode27 skia/ext/bitmap_platform_device.h:27: #define SKIA_EXT_RASTER_DEVICE_ALLOCATION_MAX (256 ...
8 years, 3 months ago (2012-09-14 21:01:33 UTC) #4
reed1
256M or 1G -- they are both guesses. I think we're more up against the ...
8 years, 3 months ago (2012-09-14 21:08:20 UTC) #5
reed1
I will need to re-test, so this won't land until Monday.
8 years, 3 months ago (2012-09-14 21:09:11 UTC) #6
reed1
I will try a separate patch to see if such a technique will fix the ...
8 years, 3 months ago (2012-09-14 21:10:07 UTC) #7
Stephen White
On 2012/09/14 21:08:20, reed1 wrote: > 256M or 1G -- they are both guesses. I ...
8 years, 3 months ago (2012-09-14 21:13:09 UTC) #8
reed1
8 years, 3 months ago (2012-09-15 02:30:34 UTC) #9
tried 1G, and the SVG test failed.
tried 512M and it passed, so checking in w/ that as a compromise.

Powered by Google App Engine
This is Rietveld 408576698