Skip to content

Commit

Permalink
Increase stack reserve size for Windows debug builds to avoid test cr…
Browse files Browse the repository at this point in the history
…ashes (GH-102776)
  • Loading branch information
zooba authored Mar 17, 2023
1 parent 99b38be commit 744a41b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion PCbuild/python.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<StackReserveSize>2000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion PCbuild/pythonw.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
<StackReserveSize>2000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down

0 comments on commit 744a41b

Please sign in to comment.