Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!nrl-cmf!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.lang.c
Subject: Re: Limit to array size under cc?
Message-ID: <6768@brl-smoke.ARPA>
Date: Tue, 1-Dec-87 06:18:38 EST
Article-I.D.: brl-smok.6768
Posted: Tue Dec  1 06:18:38 1987
Date-Received: Fri, 4-Dec-87 05:08:34 EST
References: <3537@ames.arpa> <9583@mimsy.UUCP>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 8

In article <9583@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes:
>   Solution: use the C-shell built in `limit' command, ...

A better solution would be to change the code so as not to allocate so
much on the auto stack.  There are many machines with much smaller
stack size limits, and code that assumes an "infinite" stack will not
port to such machines.  Huge amounts of space are best obtained via
malloc().