[comp.os.msdos.programmer] getting the most for your memory with QuickBASIC

grisanti@plains.NoDak.edu (Ames Grisanti) (12/18/90)

Hello,
 I was wondering if someone who has some experience with Microsoft
QuickBASIC might help me.

 I have written an application which operates on a moderate size
data array (600,10) which is an array of single precision data. I
have run into an out of memory error.  The program when compiled
is 176825 bytes.  I am running this on a 386SX compatible with 2MB
ram.   The complier manual recommends using the '$DYNAMIC meta command
to the compiler and also using the /ah switch. From what I read in the
manual this should allow my program to use the full memory capability
of my machine (not the normal 64K limit under GW-BASIC).  But this
dosen't help.  I should probably mention that the program does not
redimension the arrays or do any other things to the array bounds
during execution.

 Could someone offer some advice on what I may be doing wrong?  I
 would appreciate some pointers on how to get this thing to work.
 Because eventually I would like to increase the array size.

thanks,
Ames Grisanti

University of North Dakota
Energy and Environmental Research Center
[grisanti@plains.NoDak.edu      --         Internet]
[grisanti@plains or ndsuvax     --         Bitnet  ]
[uunet!plains!grisanti          --         UUCP    ]