From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8badcbdbf5b9d34e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-06 00:33:36 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!boulder!csnews!usenet From: grunwald@kilt.cs.colorado.edu (Dirk Grunwald) Newsgroups: comp.unix.osf.osf1 Subject: Re: DEC OSF/1 2.0 limits.h and core dump using INT_MAX Date: 06 Jun 1994 00:17:19 GMT Organization: University of Colorado at Boulder Message-ID: References: Reply-To: grunwald@foobar.cs.colorado.edu NNTP-Posting-Host: kilt.cs.batman.net In-reply-to: richm@netcom.com's message of Sun, 5 Jun 1994 17:35:48 GMT >>>>> "RM" == Richard Mauri writes: In article richm@netcom.com (Richard Mauri) writes: RM> main() RM> { RM> char c[MAX_INT]; RM> } RM> It core dumps at run time. Very strange and definitely a bug IMHO. RM> Anyone else know about this or experienced such? -- This creates a 2GB array on your stack. Even assuming you have this much swap space, the memory limits are probably set up to avoid this. do a "limit" to find out how much stackspace you can allocate (usually 4MB by default) cputime unlimited filesize unlimited datasize 131072 kbytes stacksize 4096 kbytes coredumpsize 0 kbytes memoryuse 58824 kbytes descriptors 4096 files addressspace 1048576 kbytes