Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 2af9d2ebbcbb23d753f1906853bfa2513c4b6f89..11ec7dced5c90615b06d2b79d8876a23397b7c84 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -20105,12 +20105,10 @@ class InitDefaultIsolateThread : public v8::base::Thread { |
void Run() { |
v8::Isolate::CreateParams create_params; |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
- const intptr_t pageSizeMult = |
- v8::internal::Page::kPageSize / v8::internal::MB; |
switch (testCase_) { |
case SetResourceConstraints: { |
- create_params.constraints.set_max_semi_space_size(1 * pageSizeMult); |
- create_params.constraints.set_max_old_space_size(4 * pageSizeMult); |
+ create_params.constraints.set_max_semi_space_size(1); |
+ create_params.constraints.set_max_old_space_size(6); |
break; |
} |
default: |