Skip to content

Commit e1e8e06

Browse files
zoobamiss-islington
authored andcommitted
Increase stack reserve size for Windows debug builds to avoid test crashes (pythonGH-102764)
(cherry picked from commit f33b33e) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent df399a3 commit e1e8e06

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PCbuild/python.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<Link>
9696
<SubSystem>Console</SubSystem>
9797
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
98-
<StackReserveSize Condition="$(Configuration) == 'Debug'">4000000</StackReserveSize>
98+
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
9999
</Link>
100100
</ItemDefinitionGroup>
101101
<ItemGroup>

PCbuild/pythonw.vcxproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
</PropertyGroup>
9090
<ItemDefinitionGroup>
9191
<Link>
92-
<StackReserveSize>2000000</StackReserveSize>
92+
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
93+
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
9394
</Link>
9495
</ItemDefinitionGroup>
9596
<ItemGroup>

0 commit comments

Comments
 (0)