Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does a VFP app on workstation slow to a crawl?
Message
From
15/08/2005 05:17:53
Walter Meester
HoogkarspelNetherlands
 
 
To
14/08/2005 15:24:14
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040548
Message ID:
01040886
Views:
18
Hi Mike,

>Effectively to you and me, perhaps. My question is how does the operating system see it? Hopefully someone can jump in on that.

I did some investigation to this a few years ago. I don't remember the exact outcome of it though because by placing the exe locally (which we do as much as possible) it becomes irrelevant.

I do know however, that a VFP exe is not loaded entirely into memory all at once. This is so because a VFP.exe is not a normal exe, but a small header which loads the pcode interpreter and the rest of the exe is just pure data. The intepreter will load the resources as required. If you run filemon, you'll see that during execution, VFP reads form the exe again and again, just like from a normal database. I'm not 100% sure, but I seem to remember that if you make the EXE readonly it caches the parts that already have been downloaded, thus speeding up loading resources.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform