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)

(cherry picked from commit f33b33e)

Co-authored-by: Steve Dower <[email protected]>
  • Loading branch information
zooba authored and miss-islington committed Mar 17, 2023
1 parent df399a3 commit e1e8e06
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 e1e8e06

Please sign in to comment.