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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6b3ebf057333800c X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!sn-xt-sjc-02!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: "ME" Newsgroups: comp.lang.ada Subject: Re: Largest size array in Gnat 2005 for the PC? Date: Tue, 30 Oct 2007 22:38:13 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <13ig56pg5rl8857@corp.supernews.com> References: <13idb3jbm28kfbe@corp.supernews.com> <4726d889$1@news.post.ch> <13ief75sa03m733@corp.supernews.com> <1948519.DJ9jiXYulm@linux1.krischik.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Complaints-To: abuse@supernews.com Xref: g2news2.google.com comp.lang.ada:2667 Date: 2007-10-30T22:38:13-07:00 List-Id: "Martin Krischik" wrote in message news:1948519.DJ9jiXYulm@linux1.krischik.com... > ME wrote: > >>> How much virtual memory does your computer have? >>> >>>> Does pragma Storage_ size affect this and if so where would you place >>>> it >>>> in >>>> a procedure? >>> >>> No, the array index used affect the maximum size. I suggest you read: >> so then >> Type My_Array is array (1..Long_Long_Integer'last) of record... >> is fine? >>> > > No, it means that your computer is running out of memory before GNAT does. > Tell me what computer/os you got and I tell you how large your array can > be. Win XP SP2 > > On most 32 bit OS it will be 2**31 byte. > A few selected 32 bit OS it will be 2*32 byte. > On a (propper) 64 bit OS your swap file will fill your hardrive first. > > Martin > > -- > mailto://krischik@users.sourceforge.net > Ada programming at: http://ada.krischik.com