Problem with defining *BIG* arrays using Verdix Ada on Apollo - Help Please 
Author Message
 Problem with defining *BIG* arrays using Verdix Ada on Apollo - Help Please

I have a need to define a 1-4 Meg array in a procedure as follows:

procedure MEG_ARRAY is

   type Byte is range 0..255;
   for Byte'Size use 8;

   type Byte_array is array(integer range <>) of Byte;

    My_array : Byte_array(1..1024*1024);

   for i in My_array'RANGE
       -- Do something impresive!
   end loop;

When I try to run the program, I get a STORAGE_ERROR.  I am using Verdix
Ada Ver 3.0 on an Apollo (SR10.2b).   I have tried defining a bigger stack
than the default (using apollo's CONFIG_.A package).  No luck.

    I would very much appreciate any pointers/suggestions.

                                                           Thank you,


  \ /    /--K      | \|/\   /\/) /|-\   Snail: 55 Hovevei Zion
  _/_/o /L__)_/o \/\__/  \X/  \_/ | |_/        Tel-Aviv, 63346  ISRAEL
 (/        Jonathan B. Owen             Voice: (03) 281-422

 Point of view:  A chicken is the means by which an egg reproduces an egg.

Fri, 19 Mar 1993 16:27:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. BIG BIG PROBLEM. Please reply

2. HELP:Defining local arrays using constants.

3. placing and object at physical memory using Verdix SCO Ada

4. Using signal in Verdix Ada

5. Verdix Ada uses 320 Mbytes of memory on an SGI

6. help please-----please help about array in DLL

7. 3b2 Verdix Ada Help

8. Please help I have a little problem with arrays

9. VSE 3.1 Repository Problem: Please help (please please?)

10. Sun Ada <=> Verdix Ada

11. Alsys Ada, Verdix Ada, ADADL

12. big arrays cause big object files in g77


Powered by phpBB® Forum Software