[ODE] Stack overflow

Nate W coding at natew.com
Sat Feb 1 12:42:02 2003


On Sat, 1 Feb 2003, Shaul Kedem wrote:

> Nate Wrote:
>
> > Maybe there should be something in the FAQ suggesting that Windows users
> > set the stack size [to a really really really really really big number]
> 
> from the latest docs:
> 
> "If you experience
> crashes when running large systems, try increasing the
> stack size."

Right, but there's no mention of the (apparent) fact that there is no
reason to be conservative about the stack size.  One should not merely
raise it until overflows are rare; one should set it to the maximum
allowed by the linker, which appears to be 800 megabytes.

-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com