Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does a VFP app on workstation slow to a crawl?
Message
De
15/08/2005 05:17:53
Walter Meester
HoogkarspelPays-Bas
 
 
À
14/08/2005 15:24:14
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01040548
Message ID:
01040886
Vues:
17
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,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform