Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!rice!rice!sun-spots-request From: auspex!guy@uunet.uu.net (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: Compatibility problem? Keywords: Miscellaneous Message-ID: <1990Aug13.010205.4308@rice.edu> Date: 9 Aug 90 20:49:29 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 298, message 12 X-Refs: Original: v9n296 >Your automatic array is "too big" for the kernel heuristic that decides >when it's time to grow the stack, vs. when to declare a user program >error. That heurisitc is different on Sun-3s and Sun-4s, since stack >frames tend to b different sizes on those systems. No, the heuristic is essentially the same; the parameter the heuristic uses, namely the stack limit, is different - it defaults to 2MB on a Sun-3 (and probably a Sun-2), and 8MB on a SPARC. His program worked just fine on a Sun-3 (well, an NS5000, but it *does* have a 3E120 inside it, running 4.0.3) after I did "limit stacksize 8192k" from the C shell to boost the stack limit to 8MB (can't set it in the SunOS Bourne shell; the Korn and Bourne-again shells may let you set it).