Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

MathLink error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51120] MathLink error
  • From: János <janos.lobb at yale.edu>
  • Date: Tue, 5 Oct 2004 04:37:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am using a 1.25Ghz G4 with 2GB RAM and a 500Mhz iBook with 640MB RAM. 
  Both have OSX 10.3.5.

Version Number: 5.0.1.0
Platform: Macintosh


Starting with Quit Kernel.

In[9]:=
$RecursionLimit=100000

Out[9]=
100000

For[i = 1; cr = "actagag"; tgBinStack = {}, i ² 592,
    i++, tgBinStack = {tgBinStack, cr}]

In[11]:=
tgBinStack

Out[11]=
MathLink Error

Message Box says:
Front End Message  (13:40:26 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 limit "i" inside the For with 591, I do not have a MathLink Error 
by displaying tgBinStack.  This number of 592 is the limit on both 
machines, so it is independent of the available RAM and independent of 
processor type from the list of G3 and G4.

Any suggestion on how to go beyond 592 ?  I need to go beyond tens of 
thousands here.

Thanks ahead,

J?nos
P.S.
Janos:~ janos$ ulimit -s
8192



-------------------------------------------------
People never lie so much as after a
hunt, during a war or before an election
- Otto von Bismarck -


  • Prev by Date: keymap and mouse problems with 5.0 frontend under linux
  • Next by Date: NMininimize vs. FIndMinimum with NDSolve?
  • Previous by thread: Re: keymap and mouse problems with 5.0 frontend under linux
  • Next by thread: NMininimize vs. FIndMinimum with NDSolve?