Friday, February 12, 2010

Call stack size

Dynamics AX call stack size is equal to 401 function call. It looks like it is idependent from function input and output parameters.
Actually 401 is quite a small number, so be careful with implementing recursive algorithms.

4 comments:

  1. Hi,

    Does it mean that if we launch a code profiler with depth of 402 it won't work ?

    Thanks

    ReplyDelete
  2. Doesn't really matter whether profile is turned on or off. It can be turned on for arbitrarily large trace depth. But you'll get stack overflow exception anyway as soon as you'll reach depth of 402.

    ReplyDelete
  3. i visited your website and really nice stuff thanks for every thing .i like that type of website. If you're looking for the best Things to do in the world, this list has something for everybody! From adventure to culture, food to history .

    ReplyDelete