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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insufficient Memory dBase5 in Windows 95-Me

Status
Not open for further replies.

Mrbeefy

Programmer
Sep 23, 2003
4
NZ
I'm running dBase5 for DOS on WindowsME.

Obviously sorting is a very important feature that I need to use, but whenever I try to do that on any of the Win95/98/ME OSes, I get an error saying "Insufficient Memory."

There are 512megs of RAM available. I understand it has to do with conventional memory, but I'm not that good with that stuff, and I'm just looking for a simple solution so that I may sort these files.

I noticed that Win2k doesn't have this problem, but switching this machine to Win2k is not an option.
 
Suggestion:

Check your PIFs/LNKs/or whatever ME is using for the "shortcut" connection; and check the properties.

Make sure that the memory usage is set to auto in all sections (conventional, expanded, and extended) and you make also want to check the "Uses HMA" section too.

If you don't know how to activate the properties menu then post here again.

--MiggyD "The world shrinks more and more with every new user online."
 
Everything was already set to auto.

No luck.

What else?

 
MrBeefy:

The only other recommendations that I can make (since I only have DB3+) is:

1) Try using the DISPLAY MEMORY command and see what you have left for available memory prior to running a sorting routine. If your sorting routine is in a module (in DB3+ the module's file extension is .prg)...then try using the above command prior to running the sort. You many need to RELEASE some variables from memory, if any are being used.)

2) Reduce the number of indices (if many are being used).

3) Check your CONFIG.SYS for FILES=30 and BUFFERS=30 (since you have so much ram available you shouldn't see any slowdown in performance.)

Hopefully, one of these can help you in some way. If anyone else has any other suggestions, please post them.

--MiggyD "The world shrinks more and more with every new user online."
 
From the DOS prompt, run the MEM/C command. Near the bottom of the list, look for the line LARGEST EXECUTABLE PROGRAM SIZE. It should be above 600K.
If it's not, you need to free up space by adjusting your CONFIG.SYS file.
DOS=HIGH,UMB
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE
Be aware that if you have a Sound Blaster (or other similar device) driver, you must remove it. Unless you play DOS games, you will not lose any functionality.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top