Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 0f67c984d00848d49ff1df623026ef0b78d44084..b4a8e5e23d665aa945bcff7cb269a3dcace7a7ac 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -4859,7 +4859,7 @@ HEAP_TEST(Regress538257) { |
FLAG_manual_evacuation_candidates_selection = true; |
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(6); |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
v8::Isolate* isolate = v8::Isolate::New(create_params); |