Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!rice!rice!sun-spots-request From: toutain@vega.inria.fr (Laurent Toutain) Newsgroups: comp.sys.sun Subject: Stack Size Keywords: SunOS Message-ID: <1990Oct31.235517.22225@rice.edu> Date: 1 Nov 90 00:07:27 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 11 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 352, message 10 X-Original-Date: 10 Oct 90 15:01:06 GMT I have a program which copies the user's stack in its own private stack area. In SUN-OS3.5 this program worked fine. Since I upgraded to SUN-OS 4.0, it doesn't work any more. I found an explanation: the use of stack seems to have drastically grown between the two versions of the SUN-OS. When I changed the size of the private area to a larger value the program worked again. I like to know the maximum stack size for a common application in order to optimize my code. Laurent Toutain