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.
Call stack size
This was originally posted here.
*This post is locked for comments