mirror of https://github.com/python/cpython.git
gh-113655: Increase default stack size for PGO builds to avoid C stack exhaustion (GH-114148)
This commit is contained in:
parent
b331381485
commit
2e672f7ca6
|
@ -94,8 +94,11 @@
|
|||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
|
||||
<StackReserveSize>2000000</StackReserveSize>
|
||||
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
||||
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
||||
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
|
||||
<StackReserveSize Condition="$(Configuration) == 'PGUpdate'">3000000</StackReserveSize>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -89,8 +89,11 @@
|
|||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<Link>
|
||||
<StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
|
||||
<StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
|
||||
<StackReserveSize>2000000</StackReserveSize>
|
||||
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
||||
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
||||
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
|
||||
<StackReserveSize Condition="$(Configuration) == 'PGUpdate'">3000000</StackReserveSize>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue