mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9486] Increase reserverd stack size for mangosd up to 4Mb at Windows
Most Unuxe/Linux OSs have by default 4Mb as max stack size for application by default. VisualStudio for x86/x64 set 1Mb by default. In result at Windows possible more often stack overflow crashes in cases when Unux version work fine. So we fix this not nice difference. VS10 version not included. If someone prepare patch for VS10 case it can be added to repo.
This commit is contained in:
parent
dfdd59a483
commit
89cdcd2472
3 changed files with 30 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9485"
|
#define REVISION_NR "9486"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
LinkTimeCodeGeneration="0"
|
LinkTimeCodeGeneration="0"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
|
|
@ -189,6 +190,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LinkTimeCodeGeneration="0"
|
LinkTimeCodeGeneration="0"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
|
|
@ -290,6 +292,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -391,6 +394,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -492,6 +496,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -593,6 +598,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
ImportLibrary="$(OutDir)\mangosd.lib"
|
ImportLibrary="$(OutDir)\mangosd.lib"
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -703,22 +709,6 @@
|
||||||
RelativePath="..\..\src\mangosd\RASocket.h"
|
RelativePath="..\..\src\mangosd\RASocket.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\src\mangosd\WorldRunnable.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\src\mangosd\WorldRunnable.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\mangosd\soapC.cpp"
|
RelativePath="..\..\src\mangosd\soapC.cpp"
|
||||||
>
|
>
|
||||||
|
|
@ -743,6 +733,22 @@
|
||||||
RelativePath="..\..\dep\include\gsoap\stdsoap2.h"
|
RelativePath="..\..\dep\include\gsoap\stdsoap2.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\mangosd\WorldRunnable.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\mangosd\WorldRunnable.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
</Globals>
|
</Globals>
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
LinkTimeCodeGeneration="0"
|
LinkTimeCodeGeneration="0"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
|
|
@ -190,6 +191,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LinkTimeCodeGeneration="0"
|
LinkTimeCodeGeneration="0"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
DataExecutionPrevention="0"
|
DataExecutionPrevention="0"
|
||||||
|
|
@ -291,6 +293,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -392,6 +395,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
DataExecutionPrevention="0"
|
DataExecutionPrevention="0"
|
||||||
|
|
@ -493,6 +497,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
LargeAddressAware="2"
|
LargeAddressAware="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
|
|
@ -594,6 +599,7 @@
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
MapFileName="..\..\bin\$(PlatformName)_$(ConfigurationName)\mangosd.map"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
|
StackReserveSize="4194304"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
FixedBaseAddress="1"
|
FixedBaseAddress="1"
|
||||||
DataExecutionPrevention="0"
|
DataExecutionPrevention="0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue