From 20091031dae624de73e8aca1da50ed3c94e95456 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 17 Jul 2011 19:45:58 -0600 Subject: [PATCH] increase HeapCapacity to 256MB in bootimage.cpp This is necessary to avoid running out of memory when building bootimages of certain apps with OpenJDK using ProGuard'ed code. --- src/bootimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootimage.cpp b/src/bootimage.cpp index a18fb91970..1371fae525 100644 --- a/src/bootimage.cpp +++ b/src/bootimage.cpp @@ -23,7 +23,7 @@ using namespace vm; namespace { -const unsigned HeapCapacity = 128 * 1024 * 1024; +const unsigned HeapCapacity = 256 * 1024 * 1024; // Notes on immutable references in the heap image: //