 
 
 
 
 
 
Newbie facing $RecursionLimit and Stack Space on OSX
- To: mathgroup at smc.vnet.net
- Subject: [mg51124] Newbie facing $RecursionLimit and Stack Space on OSX
- From: János <janos.lobb at yale.edu>
- Date: Tue, 5 Oct 2004 04:37:13 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi
I do
In[9]:=
$RecursionLimit=100000
Out[9]=
100000
then I do
In[38]:=
Fold[List,{},Table["",{i,592}]]
Out[38]=
MathLink Error
Message Box says:
Front End Message  (15:00:27 on 10/4/04)
There is not enough stack space for this operation.  Try increasing the  
amount of stack space before running Mathematica.
if I do it 591 times then I get nicely:
In[41]:=
Fold[List,{},Table["",{i,591}]]
Out[41]=
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ 
{{{{{{\
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}, 
},},},\
},},},},},},},},},},},},},},},},},},},},},},},},},},},},},}
I use a G4 with OSX 10.3.5 and Mathematica is 5.0.1.0.   What is so  
magical in the number 592 ?  Why not 599 or 99999 ?
Thanks ahead,
János
P.S.
In[43]:=
$RecursionLimit
Out[43]=
100000
----------------------------------------------
Trying to argue with a politician is like lifting up the head of a  
corpse.
(S. Lem: His Master Voice)

