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 (pythonGH-102764)
  • Loading branch information
zooba authored Mar 17, 2023
1 parent 3f9285a commit f33b33e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PCbuild/python.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<Link>
<SubSystem>Console</SubSystem>
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'Debug'">4000000</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 f33b33e

Please sign in to comment.