From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a2aeab5a4f8df549 X-Google-Attributes: gid103376,public From: "Jeff Creem" Subject: Re: Large arrays in GNAT Date: 2000/07/16 Message-ID: <8ksv3n$aep$1@pyrite.mv.net>#1/1 X-Deja-AN: 647056437 References: <3971DC1F.D415BFBE@npolar.no> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: abuse@mv.com X-Trace: pyrite.mv.net 963772343 10713 199.125.99.135 (16 Jul 2000 18:32:23 GMT) Organization: MV Communications, Inc. X-MSMail-Priority: Normal NNTP-Posting-Date: 16 Jul 2000 18:32:23 GMT Newsgroups: comp.lang.ada Date: 2000-07-16T18:32:23+00:00 List-Id: "Reinert Korsnes" wrote in message news:3971DC1F.D415BFBE@npolar.no... > Hi, > > I cannot declare an array of Float larger than 2.5 mill elements > using my Ada95 gnat compiler (gnat-3.12p-12) on my linux box. > > For example: > > A : array (Integer range 1 .. 2_500_000) of Float; declare the array in a package (spec or body it does not matter) or create an access type and do a new. If you declare an array as a local variable or (really the same thing) in the mainline procedure it gets created on the stack..