From: ccos Date: 2003-02-27T10:33:23+09:00 Subject: OS X Stack Depth Problem hello, using 1.6.7, if i recurse, i can only get to a depth of about 70. surely this can't be right. i looked through the list archives and only found one reference to the problem by another os x user who had the same problem, but this was two years ago. he had found a hack to fix it. (below) i'm just curious if anybody else has had this problem and if there has been some kind of official fix/patch, or whether the following would be adequate and not have any unwanted side effects: in eval.c ... changing this line: double space = (double)rlim.rlim_cur*0.2; to this: double space; rlim.rlim_cur = rlim.rlim_max; setrlimit(RLIMIT_STACK, &rlim); space = (double)rlim.rlim_cur*0.2; thanks much, c