Re: Largest size array in Gnat 2005 for the PC?
- From: "ME" <abcdefg@xxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 06:50:29 -0700
"Pascal Obry" <pascal@xxxxxxxx> wrote in message
news:4726DD25.7080205@xxxxxxxxxxx
ME a écrit :I am using the stack. how do I change this at link time using GPL?
What is the largest array (in storage units) that you can declare in Gnat
2005 for the PC?
Does pragma Storage_ size affect this and if so where would you place it
in
a procedure?
It depends if you want to allocate it on the stack or on the heap.
The
stack is often smaller but the size can be changed at link time. TheI am using Windows XP SP2 so my OS is 32 bits. You don't happen to know what
heap can use all the memory (physical + virtual) that you have on your
computer. There is a limit in the size allocated by a single object
imposed by the OS depending on the architecture (32bits / 64bits).
the limit is for Windows XP SP2 ?
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
.
- Follow-Ups:
- Re: Largest size array in Gnat 2005 for the PC?
- From: Pascal Obry
- Re: Largest size array in Gnat 2005 for the PC?
- References:
- Largest size array in Gnat 2005 for the PC?
- From: ME
- Re: Largest size array in Gnat 2005 for the PC?
- From: Pascal Obry
- Largest size array in Gnat 2005 for the PC?
- Prev by Date: Re: Real Time IO routines
- 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
|