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

Fox26Dos/Win2000 Insufficient memory

Status
Not open for further replies.

JanBucek

IS-IT--Management
Feb 25, 2002
64
CZ
We have installed old Dos app under Win2K. It runs, but in case of printing reports or larger selections comes the error "Insufficient memory". What is wrong?
TIA
 
Try this:
Put in the CONFIG.FP at the home directory of the aplication:

TMPFILES=C:\WINNT\TEMP
PROGWORK=C:\WINNT\TEMP
SORTWORK=C:\WINNT\TEMP
MEMLIMIT=80,4096,12288

Then make .PIF to load your aplication in memory and configure it with more memory (conventional and extended/expanded)



 
Thanx for reply, but it doesn't work. I tried to configure XMS memory in PIF, but the error comes: "Phar Lap err 35: The 386 chip is currently executing in virtual 8086 mode under the control of another program. You must turn off this other program in order to use 386|DOS-Extender to run in protected mode."

Using EMS comes the same error. I have used separate CONFIG.SYS in PIF with no success:
dos=high,umb
device=%SystemRoot%\system32\himem.sys
files=80
emm=RAM
 
If you do a Keyword Search for
Insufficient memory
with the Any Date parameter, you will find at least 12 previous postings.

Perhaps you will find your answer is already out there in the replies.

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
I have searched for "Insufficient memory" before and I have tested some tips (memory settings in PIF, MEMLIMIT in config.fp) but with no success. Using XMS or EMS in PIF crashes the app while loading (see above). I guess the problem is in memory-management compatibility, but I have no idea what to change.
 
Solved! (but I don't know why). I have deleted my PIF file and copied _default.pif from WINNT dir. Then I have renamed it, changed the name of launched program, set XMS to 16 MB and it runs. All the settings are the same like before, in my old PIF file. Weird.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top