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

Not enough memory to complete operation

Status
Not open for further replies.

Ron143

Programmer
Jun 18, 2002
5
US
Program written in VFP3
Error is: "There is not enough memory to complete this operation"
Machine's affected: 1.0 GHZ or higher (at least so far)

In the program I have a listbox populated from a dbf file (about 800 records), when a key is pressed on the keyboard the highlighted line jumps to the first line that begins with associated letter. The error pops up sometimes on the the first, second, or third keystroke. I have recreated this error on a 1.0 GHZ and two 1.6 GHZ machines. The error does not come up on slower machines (my machine is 500 MHZ). Any ideas? Is this associated to machine speed like fpw2.6 and 200 MHZ or higher machines? Thanks for your help.

Ron
 
Ron,
VFP 3.0 has a limitation of 512 MB, and 3.0b has a limitation of 768 MB of RAM. See - "FIX: Insufficient Memory on a Computer That Has 512MB of RAM" for more info.

Consider updating to VFP 7.0 - it has no such limitation.

Also, if you go to the MS KnowledgeBase ( and enter VFP and insufficient memory , you'll get back a number of "leads".
PRB: Insufficient Memory Message Running a FoxPro EXE (Q190462) - looks promising.

Rick
 
I am using VFP 3.0b. The computers with these problems only have 256MB of ram running WIN 2000. The program runs properly except for screens with list boxes, and the error only comes up if you type on the keyboard to skip down to the records closest to the key pressed. Any other ideas?
 
Ron,
So much has been changed, fixed and added through VFP 5.0 (+3 Service Packs), VFP 6.0 (+5 SPs) and 7.0 (1 SP so far), that in reality it might be easier to simply upgrade. I guess the question is how much is your time (and your users that are not working because of the problem) worth? W2K was still in the planning stages, in fact NT 4.0 hadn't even been released, when VFP 3.0 was last updated.

Rick
 
tnx - question was not relative to running an app just starting 3.0 when error occurs? does that change the resonse? I cannot even get the 3.0 to run. pete
 
The memory restrictions apply equally to the developement environment as well as 3.0 applications.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top