Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index afa8ecb7ec48874233ef13fcca062ee50cf01c1f..344fa2fe561d5018e0a0198ac8b46f2a64f8cb65 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -1239,8 +1239,8 @@ TEST(SliceFromSlice) { |
UNINITIALIZED_TEST(OneByteArrayJoin) { |
v8::Isolate::CreateParams create_params; |
// Set heap limits. |
- create_params.constraints.set_max_semi_space_size(1 * Page::kPageSize / MB); |
- create_params.constraints.set_max_old_space_size(6 * Page::kPageSize / MB); |
+ create_params.constraints.set_max_semi_space_size(1); |
+ create_params.constraints.set_max_old_space_size(6); |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
v8::Isolate* isolate = v8::Isolate::New(create_params); |
isolate->Enter(); |