Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conventional Memory Exausted 1

Status
Not open for further replies.

wulfgar

Technical User
Dec 8, 2002
4
US
Im upgrading my databases, changing some field structures and while the upgrade runs i get a "conventional memory exausted" error.<br>
<br>
Ive looked into the code, rewroted some parts, freed more memory by configurating ms-dos config.sys and autoexec.bat, i've even entered ms-dos mode. The number of dbf's is considerably big.<br>
<br>
Now i'm really out of ideas, could any one give me some advice.<br>
<br>
By the way im using a PIII 450Mhz with 128Mb RAM.
 
I would try to have as few dbf's open at the same time as possible. I am using Clipper 5.2d and 5.2e. I have found that with 5.2d (I haven't been using 5.2e for long) that when too many "work areas" get open clipper just drops one and then you get a "File or Area not in use" error. I believe that this is also related to memory.<br>
<br>
If you are using Win95 or Win98, you may want to put the following lines in your config.sys.<br>
<br>
SET RTVMEXP=0<br>
Device=c:\windows\himem.sys<br>
device=c:\windows\emm386.exe<br>
DOS=HIGH,UMB<br>
<br>
These will allow you to allocate extended memory to your clipper app from the memory tab on the Dos Prompt Icon or the shortcut that you use to run your clipper app.
 
I've solved the proble already, thank anyway for tour help.<br>
<br>
I start to use my program in protected mode and now it seems fine.<br>
<br>
The problem i had as to do with "Garbage Collector", when you open and close too many files the memory gets fragmented and clipper gives you a "Conventional Memory Exhausted" error.<br>
<br>
If you want to know more about this check out this site :<br>
 
Hi Wulfgar,<br>
<br>
You say that you have solved the problem by using extended memory. how did you do it? Did you use exo-space linker?
 
Hi David,<br>
<br>
I have developed programs in Clipper v5.2e, till now the programs were executing on Netware platforms, Recently the client have purchased new PC's (PIII, Celeron etc...) with OS as WIN 9x/NT.<br>
<br>
On some machine , &quot;BASE MEMORY LOW&quot; occurs, Will your solution work for this also ?<br>
<br>
I have already made smaller OVL files to take care of conventional memory...<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top