Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: grunwald@kilt.cs.colorado.edu (Dirk Grunwald)
Subject: Re: DEC OSF/1 2.0 limits.h and core dump using INT_MAX
Date: 06 Jun 1994 00:17:19 GMT	[thread overview]
Message-ID: <GRUNWALD.94Jun5181719@kilt.cs.colorado.edu> (raw)
In-Reply-To: richm@netcom.com's message of Sun, 5 Jun 1994 17:35:48 GMT

>>>>> "RM" == Richard Mauri <richm@netcom.com> writes:
In article <richmCqxq7o.170@netcom.com> 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


  reply	other threads:[~1994-06-06  0:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-05 17:35 DEC OSF/1 2.0 limits.h and core dump using INT_MAX Richard Mauri
1994-06-06  0:17 ` Dirk Grunwald [this message]
1994-06-06  8:32 ` Burkhard Neidecker-Lutz
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox