home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2459 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.0 KB  |  29 lines

  1. Newsgroups: comp.lang.ada
  2. 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
  3. From: pat@summit.opus (pat gioannini)
  4. Subject: Re: ADA Max Array Size HELP!!!!
  5. In-Reply-To: bwallet@apssgi.nswc.navy.mil's message of 25 Aug 92 11:43:44 GMT
  6. Message-ID: <PAT.92Aug27082351@summit.opus>
  7. Sender: usenet@nmsu.edu
  8. Organization: /home/pat/.organization
  9. References: <1992Aug24.152523.1@vmsclst1.sc.csupomona.edu>
  10.     <1992Aug25.114344.27981@relay.nswc.navy.mil>
  11. Date: Thu, 27 Aug 1992 15:23:51 GMT
  12. Lines: 15
  13.  
  14.  
  15. >One possible limit on array size is stack space.  I don't know about
  16. >other systems, but on an SGI with a Verdix compiler, statically declared
  17. >arrays are put on the stack.  An array of 512x512 may be to much for
  18. >the stack to handle.  Solution?  Dynamic allocation by way of access 
  19. >types and the array will be put on the heap.
  20.  
  21.  
  22. Alsys has a flag you can set which cause object greater than 
  23. a specified size to be declared on the heap.
  24.  
  25. --
  26. pat gioannini
  27. pat@psl.nmsu.edu
  28.  
  29.