From 1963ec4b8aa30714217690b8cd842f31b0dabebf Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 3 Jul 2013 14:56:18 +0000 Subject: [PATCH] Add 4K more memory for HugeConsStringOutOfMemory test case R=yangguo@chromium.org Review URL: https://codereview.chromium.org/18068007 Patch from Haitao Feng . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15472 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 f8b492b..b0b0666 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -3784,7 +3784,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(3 * K * K); + constraints.set_max_old_space_size(4 * K * K); v8::SetResourceConstraints(&constraints); // Execute a script that causes out of memory. -- 2.7.4