From ec90ccb5ab4f464980898965474742962608a8a7 Mon Sep 17 00:00:00 2001 From: ulan Date: Wed, 30 Nov 2016 07:25:07 -0800 Subject: [PATCH] [heap] Bump up old generation limit for huge memory devices. This is an experiment to see the impact of the limit on OOM crashes. BUG=chromium:667388 Review-Url: https://codereview.chromium.org/2514313004 Cr-Commit-Position: refs/heads/master@{#41391} --- src/heap/heap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap/heap.h b/src/heap/heap.h index e36a99c281..9e63c5dc35 100644 --- a/src/heap/heap.h +++ b/src/heap/heap.h @@ -603,7 +603,7 @@ class Heap { static const int kMaxOldSpaceSizeMediumMemoryDevice = 256 * kPointerMultiplier; static const int kMaxOldSpaceSizeHighMemoryDevice = 512 * kPointerMultiplier; - static const int kMaxOldSpaceSizeHugeMemoryDevice = 700 * kPointerMultiplier; + static const int kMaxOldSpaceSizeHugeMemoryDevice = 1024 * kPointerMultiplier; // The executable size has to be a multiple of Page::kPageSize. // Sizes are in MB.