Defining large (>120K) static arrays on Sun 3/50

Salit Levy Gazit salit at bein.cs.duke.edu
Fri Apr 7 03:54:18 AEST 1989


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 at cs.duke.edu



More information about the Comp.lang.c mailing list