General discussion

Locked

Dos/foxpro problem in NT

By tlotta ·
OS: NT 4.0 ( sp 5)
Server: Dell 2300 ( RAID 5 – 256MB RAM )

I have a foxpro 2.5 for Dos program that runs a nightly process on the NT server. For the last couple of days the process works extremely slowly. Previously it ran perfectly within an hour (now it takes up 8 hours and disrupts all other processes) . There have been no changes to the database or the system during this time.

The same process running on a win95 machine runs really fast. I thought it could be the NTDVM settings so I changed a few of those but no luck. I also changed the program properties (previously pif files) with different settings but still the whole process is really slow.

Is there any other setting within NT that needs to be changed so that this program can run more efficiently?

pls advise

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Dos/foxpro problem in NT

by Gary Sharp In reply to Dos/foxpro problem in NT

Check the settingsin config.nt and autoexec.nt - these are the equivalent of config.sys amd autoexec.bat for the NTVDM dos environment - there may be some tweaks required to get max performance from Foxpro, such as increasing the number of file handles etc.

good luck!

g

Collapse -

Dos/foxpro problem in NT

by tlotta In reply to Dos/foxpro problem in NT

Poster rated this answer

Collapse -

Dos/foxpro problem in NT

by Lee V. In reply to Dos/foxpro problem in NT

Just a thought... how long has it been since your server has been re-booted? You may have a memory leak that has consumed your available physical memory and is using the virtual memory (your hard drive) to run now. You can use Task Manager (performance tab) to check how much memory is in use, the peak usage, etc. Also, check in the process tab to see if your program may be opening a new NTVDM every time it runs and is not closing them when finished.
Many times a re-boot corrects a slow machine for a time until one of the above scenarios catches up with the system again. If you re-boot and the faster operation returns, you most likely have found some sort of leak in your system that needs patched.

Collapse -

Dos/foxpro problem in NT

by tlotta In reply to Dos/foxpro problem in NT

Poster rated this answer

Collapse -

Dos/foxpro problem in NT

by phigginson In reply to Dos/foxpro problem in NT

Hi,

I have this problem is the past, and in some condition my foxpro application disappaer from my desktop.

I have added this key in my registry
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW]
"DisableVme"="1"

Good Luck
Pascal.

Collapse -

Dos/foxpro problem in NT

by tlotta In reply to Dos/foxpro problem in NT

Poster rated this answer

Collapse -

Dos/foxpro problem in NT

by agibbs In reply to Dos/foxpro problem in NT

This sounds crazy, but maybe your computer is too fast?!

I ran into this a while back out at a clients' -- we were replacing all their 486 WFW machines with high-speed PII-450's running Windows NT. The FoxPro 2.6 app I had written for them WOULDNOT RUN AT ALL. I tested it out at my office, everything worked well on NT but not out there. Ended up there's an issue with FoxPro 2.5/2.6/2.6a running on machines faster than 333 Mhz. Detailed in Microsoft QIDQ240982 at http://support.microsoft.com/support/kb/articles/Q240/9/82.ASP

Collapse -

Dos/foxpro problem in NT

by tlotta In reply to Dos/foxpro problem in NT

Poster rated this answer

Collapse -

Dos/foxpro problem in NT

by tlotta In reply to Dos/foxpro problem in NT

This question was closed by the author

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums