Difference between revisions of "Stack overflow"
From MohidWiki
Line 3: | Line 3: | ||
Here's a flow chart that helps you to determine the optimal stack size for your mohid application: | Here's a flow chart that helps you to determine the optimal stack size for your mohid application: | ||
http://www.lucidchart.com/documents/view/4d9491c1-ba7c-4a5b-a974-4d630af9a3bf | http://www.lucidchart.com/documents/view/4d9491c1-ba7c-4a5b-a974-4d630af9a3bf | ||
+ | |||
+ | [[Image:4d95b16e-9284-44c4-93b9-04fa0a425e8a.png]] | ||
+ | |||
==Pre-requisites== | ==Pre-requisites== |
Revision as of 11:42, 1 April 2011
Stack overflows are a most recurrent problem in MOHID largest applications. In windows systems stack memory must be pre-reserved and is the memory where static data is loaded (passing arguments of calling functions, variables=). In windows systems (x32 or x64 architecture) static data is limited to 2GB only.
Here's a flow chart that helps you to determine the optimal stack size for your mohid application: http://www.lucidchart.com/documents/view/4d9491c1-ba7c-4a5b-a974-4d630af9a3bf
Pre-requisites
You must have installed the following programs