diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-07-02 18:38:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 17:38:11 +0100 |
commit | 71691e53d601a4cf3eab3b33cebe4cc9f50c8470 (patch) | |
tree | 3d67b234e47a1a64959dc51ddd3037c2712dc528 /node.gyp | |
parent | c753f27a3d4ff1ca7d8a1167d6fc655685310a09 (diff) | |
download | node-new-71691e53d601a4cf3eab3b33cebe4cc9f50c8470.tar.gz |
build,test: increase stack size limit on Windows
Fixes: https://github.com/nodejs/node/issues/43630
PR-URL: https://github.com/nodejs/node/pull/43632
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -172,6 +172,12 @@ 'RandomizedBaseAddress': 2, # enable ASLR 'DataExecutionPrevention': 2, # enable DEP 'AllowIsolation': 'true', + # By default, the MSVC linker only reserves 1 MiB of stack memory for + # each thread, whereas other platforms typically allow much larger + # stack memory sections. We raise the limit to make it more consistent + # across platforms and to support the few use cases that require large + # amounts of stack memory, without having to modify the node binary. + 'StackReserveSize': 0x800000, }, }, |