From b4d877405585709caac89a7376f6a8e6565346bc Mon Sep 17 00:00:00 2001 From: Dmytro Semchuk <59896147+x0m4ek@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:59:22 +0100 Subject: [PATCH] doc: fix typo in --disable-wasm-trap-handler description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/61820 Reviewed-By: René Reviewed-By: Luigi Pinca --- 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