Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!xanth!mcnc!duke!bein!salit From: salit@bein.cs.duke.edu (Salit Levy Gazit) Newsgroups: comp.lang.c Subject: Defining large (>120K) static arrays on Sun 3/50 Summary: How to ...? Message-ID: <14129@duke.cs.duke.edu> Date: 6 Apr 89 17:54:18 GMT Sender: news@duke.cs.duke.edu Reply-To: salit@bein.UUCP (Salit Levy Gazit) Distribution: na Organization: Duke University CS Dept.; Durham, NC Lines: 16 References: Hello I am not a reader of this newsgroup, so this question may have been asked before. I am using a SUN 3/50 with 2MB memory. My program needs a large (~300-400K) array of integers, but the C compiler allows only ~120K for static array definitions. I think the array can be allocateed dynamically by one of the alloc commands, but I prefer to keep it static if possible (faster runtime). Any idea? Please respond by e-mail. Thanks in advance. Salit salit@cs.duke.edu