From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,660646366591c2c5 X-Google-Attributes: gidfee84,public From: charette@ultoe.det.dec.com (Mark Charette) Subject: Re: Stack trouble with OSF/1's cc Date: 1995/09/14 Message-ID: <43a7pk$liv@eccdb1.pms.ford.com>#1/1 X-Deja-AN: 110125193 distribution: world references: <43a36g$o3c@fndaub.fnal.gov> organization: ECC at Ford Motor Company, Dearborn Michigan newsgroups: comp.unix.osf.osf1 Philippe Canal (pcanal@fndaub.fnal.gov) wrote: : With the following: : OSF1 V3.2 214 alpha : cc (cc) : The DEC OSF/1 AXP Compiler Driver 3.11 : I compile the following program: : char array[2101250]; : I was wondering if it was a bug or a feature of OSF/1, its cc or the alpha, : and is there any patch/promise of solving it in the next version etc ... The default stack size for your machine is probably set absymally low. In a C shell, type limit On my machine, it responds with cputime unlimited filesize unlimited datasize 1048576 kbytes stacksize 32768 kbytes coredumpsize unlimited memoryuse 121808 kbytes descriptors 4096 files addressspace 1048576 kbytes giving me 32 Mb stack. You can try limit stacksize unlimited to get a bigger stack. If someone has set maxssiz in the sys/conf/ file to a real low value & made a new kernel, however, there's nothing you can do except change the file & recompile the kernel. I always set the dfldsiz & dflssiz to the maxdsiz & maxssiz (respectively) on my Alphas. Of course, I never share my machines, either ;^) -- Mark Charette charette@mika.com MIKA Systems, Inc 17197 N. Laurel Park Dr Suite 115 Livonia, MI 48152