From 9a5fa94e3e731fa460c32dbcede67904d359a9df Mon Sep 17 00:00:00 2001 From: Keyhan Vakil Date: Tue, 26 Jul 2022 05:54:43 +0000 Subject: [PATCH] ... --- src/node_main_instance.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node_main_instance.cc b/src/node_main_instance.cc index 9c37b8b988ff73..62018243415084 100644 --- a/src/node_main_instance.cc +++ b/src/node_main_instance.cc @@ -88,7 +88,8 @@ NodeMainInstance::NodeMainInstance(const SnapshotData* snapshot_data, platform->RegisterIsolate(isolate_, event_loop); SetIsolateCreateParamsForNode(isolate_params_.get()); - size_t thread_max_old_space_size = static_cast(options->thread_max_old_space_size); + size_t thread_max_old_space_size = + static_cast(options->thread_max_old_space_size); if (thread_max_old_space_size != 0) { isolate_params_->constraints.set_max_old_generation_size_in_bytes( thread_max_old_space_size * 1024 * 1024);