Re: Largest size array in Gnat 2005 for the PC?
- From: "ME" <abcdefg@xxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 22:38:13 -0700
"Martin Krischik" <krischik@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1948519.DJ9jiXYulm@xxxxxxxxxxxxxxxxxxxxxx
ME wrote:Win XP SP2
How much virtual memory does your computer have?so then
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:
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.
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@xxxxxxxxxxxxxxxxxxxxx
Ada programming at: http://ada.krischik.com
.
- References:
- Largest size array in Gnat 2005 for the PC?
- From: ME
- Re: Largest size array in Gnat 2005 for the PC?
- From: Martin Krischik
- Re: Largest size array in Gnat 2005 for the PC?
- From: ME
- Re: Largest size array in Gnat 2005 for the PC?
- From: Martin Krischik
- Largest size array in Gnat 2005 for the PC?
- Prev by Date: Re: Write 4NT / Take Command plugins with Ada
- Next by Date: Re: Largest size array in Gnat 2005 for the PC?
- Previous by thread: Re: Largest size array in Gnat 2005 for the PC?
- Next by thread: virtual memory, was Re: Largest size array in Gnat 2005 for the PC?
- Index(es):
Relevant Pages
|