Re: Largest size array in Gnat 2005 for the PC?
- From: Martin Krischik <krischik@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 19:58:53 +0100
ME wrote:
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
.
- Follow-Ups:
- 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
- Largest size array in Gnat 2005 for the PC?
- Prev by Date: Re: Largest size array in Gnat 2005 for the PC?
- 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: Re: Largest size array in Gnat 2005 for the PC?
- Index(es):
Relevant Pages
|