Re: Deep Recursion

2008-08-28 Thread Michael Ash
On Wed, Aug 27, 2008 at 10:01 PM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > Yesterday I did some nice recursive programming - the only problem was: I > did not intend to do so. > As a consequence, there was no defined end to the recursion, which made it > essentially infinite. > > Well, memo

Re: Deep Recursion

2008-08-27 Thread Wade Tregaskis
Is there some way (environment variable?) to limit the stack size to something smaller, so that the exception (probably from stack corruption) would show off earlier? http://developer.apple.com/qa/qa2005/qa1419.html - Customizing Process Stack Size You can set limits/ulimits, define it at

Deep Recursion

2008-08-27 Thread Gerriet M. Denkmann
Yesterday I did some nice recursive programming - the only problem was: I did not intend to do so. As a consequence, there was no defined end to the recursion, which made it essentially infinite. Well, memory - specifially stack space - is not infinite, so eventually I got an EXEC_BAD_ADDR