From 109de9ced3304f4f120887160abeacc0bd1ee241 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Sat, 14 Feb 2026 18:13:46 +0100 Subject: [PATCH] doc: fix typo in --disable-wasm-trap-handler description --- doc/api/cli.md | 2 +- doc/node.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 651e06f6910ebe..4d8e806723866d 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -758,7 +758,7 @@ added: By default, Node.js enables trap-handler-based WebAssembly bound checks. As a result, V8 does not need to insert inline bound checks -int the code compiled from WebAssembly which may speedup WebAssembly +in the code compiled from WebAssembly which may speed up WebAssembly execution significantly, but this optimization requires allocating a big virtual memory cage (currently 10GB). If the Node.js process does not have access to a large enough virtual memory address space diff --git a/doc/node.1 b/doc/node.1 index 6d16ef84c45df0..8075225d5d1b3e 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -460,7 +460,7 @@ vm.measureMemory(); .It Fl -disable-wasm-trap-handler By default, Node.js enables trap-handler-based WebAssembly bound checks. As a result, V8 does not need to insert inline bound checks -int the code compiled from WebAssembly which may speedup WebAssembly +in the code compiled from WebAssembly which may speed up WebAssembly execution significantly, but this optimization requires allocating a big virtual memory cage (currently 10GB). If the Node.js process does not have access to a large enough virtual memory address space