From 3515559a3899ef02fc71edae15bb816063605c09 Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Thu, 14 Jun 2012 13:52:58 +0000 Subject: [PATCH] Increase old space in cctest/test-api/HugeConsStringOutOfMemory test. This test is failing on MIPS since r11715 (a7d6f92c), it seems that after the modifications in bootstrapper.cc, this test runs out of old generation space on MIPS. TEST=cctest/test-api/HugeConsStringOutOfMemory BUG= Review URL: https://chromiumcodereview.appspot.com/10533148 Patch from Akos Palfi . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc index ed31f6f..65d56d1 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -2697,7 +2697,7 @@ TEST(HugeConsStringOutOfMemory) { static const int K = 1024; v8::ResourceConstraints constraints; constraints.set_max_young_space_size(256 * K); - constraints.set_max_old_space_size(2 * K * K); + constraints.set_max_old_space_size(3 * K * K); v8::SetResourceConstraints(&constraints); // Execute a script that causes out of memory. -- 2.7.4