Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index 92d1eb2c6e2b08d95cd6b4859845fca6ecffc4ed..a46451c3dc2dc15bd37fe12ecf050ced825d228f 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -1301,7 +1301,7 @@ TEST(SliceFromSlice) { |
UNINITIALIZED_TEST(OneByteArrayJoin) { |
v8::Isolate::CreateParams create_params; |
// Set heap limits. |
- create_params.constraints.set_max_semi_space_size(1); |
+ create_params.constraints.set_max_semi_space_size_in_kb(1024); |
create_params.constraints.set_max_old_space_size(7); |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
v8::Isolate* isolate = v8::Isolate::New(create_params); |