Skip to content

Commit 489dda6

Browse files
committed
core, refactor: change v8 memory space to 2048.
1 parent cd1d818 commit 489dda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fibjs/src/base/options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static class _init_v8_opt {
4545
{
4646
v8::internal::FLAG_lazy = false;
4747
v8::internal::FLAG_stack_size = stack_size - GUARD_SIZE;
48-
v8::internal::FLAG_max_old_space_size = 4096;
48+
v8::internal::FLAG_max_old_space_size = 2048;
4949

5050
v8::internal::FLAG_wasm_async_compilation = false;
5151

0 commit comments

Comments
 (0)