8000 Increase stack reserve size for Windows debug builds to avoid test cr… · python/cpython@744a41b · GitHub
[go: up one dir, main page]

Skip to content

Commit 744a41b

Browse files
authored
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102776)
1 parent 99b38be commit 744a41b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

PCbuild/python.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
</ClCompile>
9595
<Link>
9696
<SubSystem>Console</SubSystem>
97-
<StackReserveSize>2000000</StackReserveSize>
97+
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
98+
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
9899
</Link>
99100
</ItemDefinitionGroup>
100101
<ItemGroup>

PCbuild/pythonw.vcxproj

Lines changed: 2 additions & 1 deletion
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)
0