We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9922a commit 1afa706Copy full SHA for 1afa706
1 file changed
src/utils/configuration/index.mjs
@@ -33,7 +33,11 @@ export const getDefaultConfig = lazy(() =>
33
}),
34
},
35
36
- threads: cpus().length,
+ // The number of wasm memory instances is severely limited on
37
+ // riscv64 with sv39. Running multiple generators that use wasm in
38
+ // parallel could cause failures to allocate new wasm instance.
39
+ // See also https://github.com/nodejs/node/pull/60591
40
+ threads: process.arch === 'riscv64' ? 1 : cpus().length,
41
chunkSize: 10,
42
})
43
)
0 commit comments