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

Windows XP Insufficient memory problem

Status
Not open for further replies.

VCat88

Programmer
Oct 11, 2002
57
MY
I still having insufficient memory problem in Windows XP.

Changes had made:
c:\windows\system32>edit config.nt
dos=high, umb
device=%SystemRoot%\system32\himem.sys
MEMLIMIT=60,2048,4098
files=225
buffers=30
mvcount=2048

Inside foxpro:-
modi comm sys(2019)
MEMLIMIT=60,4096,16384

modi comm config.tmp
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=225
buffers=40

 
The 2 lines below in your config.nt file are not of any value.
MEMLIMIT=60,2048,4098
mvcount=2048
Delete them.


The second line( mvcount=2048) should be in your config.fp
Also the line ( memlimit 60,4096,16384) should be in congig.fp
The lines files=, and buffers= should not be in config.fp
 
Is this FP DOS or Windows?
Have you checked the other postings in this forum regarding settings and access rights?
When do you get the error, startup or during program executions somewhere?
Any more details you can provide would help.


-Dave S.-
[cheers]
Even more Fox stuff at:
 
I run my program in dos foxpro 2.6a. Sometimes problem "Insufficient memory" appear during the runtime. But not always come out(Not startup but in middle of the program). What can i do is just quit & restart my program.
Any more information that U need to know?

 
It may depend on what you are doing at that point in the program. e.g. If you are creating an array from a SQL Select statement that's data dependent - sometimes there may be enough room, and sometimes not! (Especially if the select tries to create an array with more than 65K elements!)

Rick
 
I've found that running the FoxPro program from a MSDOs batch file works fine. Other wise you must set compatibility to WIndows95 on the properties of the shortcut and unsure that in the memory tab there is the auto on standard, 4096 on XMS and EMS. set 512 bytes on environment size.
The Files setting in config.NT should be 186.

If only C:\ didnt need to be set to modify for users
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top