[ODE] Stack overflow
Shaul Kedem
shaul_kedem at yahoo.com
Sat Feb 1 02:45:02 2003
Nate Wrote:
> Maybe there should be
> something in the FAQ suggesting that Windows users
> set the stack size
from the latest docs:
"
11.11. The Windows version of ODE crashes with large
systems
ODE requires stack space roughly on the order of
O(n)+O(m2), where n is the number of bodies and m is
the sum of all the joint constraint dimensions. If m
is large, this can be a lot of space!
Unix-like operating systems typically allocate stack
space as it is needed, with an upper limit that might
be in the hundreds of Mb. Windows compilers normally
allocate a much smaller stack. If you experience
crashes when running large systems, try increasing the
stack size. For example, the MS VC++ command line
compiler accepts the /Stack:num flag to set the upper
limit.
"
Shaul
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com