From: yangguo@chromium.org Date: Wed, 3 Jul 2013 14:56:18 +0000 (+0000) Subject: Add 4K more memory for HugeConsStringOutOfMemory test case X-Git-Tag: upstream/4.7.83~13548 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1963ec4b8aa30714217690b8cd842f31b0dabebf;p=platform%2Fupstream%2Fv8.git 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 --- 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.