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