home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!fmsrl7!lynx!nmsu.edu!opus!pat
- From: pat@summit.opus (pat gioannini)
- Subject: Re: ADA Max Array Size HELP!!!!
- In-Reply-To: bwallet@apssgi.nswc.navy.mil's message of 25 Aug 92 11:43:44 GMT
- Message-ID: <PAT.92Aug27082351@summit.opus>
- Sender: usenet@nmsu.edu
- Organization: /home/pat/.organization
- References: <1992Aug24.152523.1@vmsclst1.sc.csupomona.edu>
- <1992Aug25.114344.27981@relay.nswc.navy.mil>
- Date: Thu, 27 Aug 1992 15:23:51 GMT
- Lines: 15
-
-
- >One possible limit on array size is stack space. I don't know about
- >other systems, but on an SGI with a Verdix compiler, statically declared
- >arrays are put on the stack. An array of 512x512 may be to much for
- >the stack to handle. Solution? Dynamic allocation by way of access
- >types and the array will be put on the heap.
-
-
- Alsys has a flag you can set which cause object greater than
- a specified size to be declared on the heap.
-
- --
- pat gioannini
- pat@psl.nmsu.edu
-
-