Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index 81294e847a965de65d82bced70e2d22d43565587..706836c1c9ed646e22cf7a8ffb321fc6cdde928a 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -1203,7 +1203,7 @@ TEST(AsciiArrayJoin) { |
// Set heap limits. |
static const int K = 1024; |
v8::ResourceConstraints constraints; |
- constraints.set_max_new_space_size(256 * K); |
+ constraints.set_max_new_space_size(2 * K * K); |
constraints.set_max_old_space_size(4 * K * K); |
v8::SetResourceConstraints(CcTest::isolate(), &constraints); |