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!

Fox 2.6 Dos 'Insufficient Memory' Error when compiling App or Exe.

Status
Not open for further replies.

oublie

Programmer
Jun 7, 2000
53
GB
Machine: Pent 233mmx 128mb<br>OS: WinNT 4 SP 5<br>Novell/NT Network<br>Foxpro For DOS 2.6a (X)<br><br>Problem:<br><br>When i try to compile a Foxpro for DOS EXE on the above system it comes up with the Insufficient Memory error.&nbsp;&nbsp;As you can see there is plenty of memory and when i do a SYS(1001) i get 66731968.&nbsp;&nbsp;The totals size of the project is about 3Mb max so why is this happening?&nbsp;&nbsp;I've tried compiling in DOS as this machine is dual boot but i get the same problem. Any help would be greatly appreciated.<br><br>Oublie.
 
If you are compiling in networking environment, give another try by log off from network and then compile.<br><br><br>Farrukh
 
Tried compiling when not logged onto network, I tried in bot an NT and DOS enviroment and still had an 'insufficient memory' error.<br><br>
 
<b>Remember, you are working with a DOS program.</b>&nbsp;&nbsp;DOS only sees 640K of memory unless you are using a DOS extender.&nbsp;&nbsp;It's been several years since I worked with FP DOS.&nbsp;&nbsp;Was the program working until you made some changes, or did you try to take this program from a DOS machine to NT?<br><br>I have gotten insufficient memory messages with FP Windows but a reboot fixed the problem. <p>Mike Wood<br><a href=mailto:mwood@awod.com>mwood@awod.com</a><br><a href= > </a><br>
 
Check out the name of the exe file you are compiling, may be the name you are using might be a reserved word. Try changing the name. <br>&nbsp;
 
You can set the number of variables that are in the program.<br><br>However, you can't do a lot.&nbsp;&nbsp;DOS and NT/Novell are not real happy.&nbsp;&nbsp;You might be able to slide a third program in that will help.&nbsp;&nbsp;I have done some of this with Access 97.&nbsp;&nbsp;However, this only helps. It does not solve the problem.&nbsp;&nbsp;<br><br>Another HELP is pulling from 2 shared drives and working on a third machine.&nbsp;&nbsp;However, this is also not a cure.
 
&quot;When i try to compile a Foxpro for DOS EXE on the above system it comes up with the Insufficient Memory error. &quot;<br>? What happens when you do not use that machine ?<br>? When did the problem start ? Since this is a DOS application is has been around a while.&nbsp;&nbsp;Can you go back to an earlier version and trace the changes made to the program.<br><br> <p>David W. Grewe<br><a href=mailto:Dave@internationalbid.net>Dave@internationalbid.net</a><br><a href= > </a><br>
 
Solved IT!<br><br>Folks, FYI the problem was solved by rebuilding the project.&nbsp;&nbsp;i.e. creating a new pjx and adding the prg's etc to that project, then when i compiled it worked first time.&nbsp;&nbsp;This was obviously one of those error messages that has absolutely nothing to do with the fault!&nbsp;&nbsp;Thanks for all your tips and help much appreciated<br><br><A HREF="mailto:Oublie@shannon-web.co.uk">Oublie@shannon-web.co.uk</A><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top