summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index d063a64080..0f5e71da53 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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,
},
},