Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!psuvax1!psuvm!cunyvm!ndsuvm1!plains!grisanti@plains.NoDak.edu From: grisanti@plains.NoDak.edu (Ames Grisanti) Newsgroups: comp.os.msdos.programmer Subject: getting the most for your memory with QuickBASIC Message-ID: <7209@plains.NoDak.edu> Date: 18 Dec 90 04:27:45 GMT Organization: UND Energy Research Center Lines: 28 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 ]