Use the quickstep function instead of dworldstep. Or increase the size of your stack in the Windows linker settings. Cheers, / h+ Delerue Jean-Francois wrote: > I was looking for the maximum number of bodies acceptable by ode? I think I can reach 100 and then, I get an error in dInternalStepIsland in a call to _chkstk. >