Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow Computer After Exiting VFP 6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360910
Message ID:
01360916
Vues:
6
>My computer (XP PRO sp2, 1 Gb RAM and 2,26 Ghz) really slows down after exiting VFP 6 and the only way to recover is to reboot.
>Two unrelated scenarios cause this to occur:
>1. One or more VFP errors since the last reboot. The computer runs progressively slower after each error. This has been occuring for years.
>2. A program that I am testing now packs and copies about 250 tables. Two of the tables are > 200 mb and one contains about 1.7 million records.
>
>I would rather *not* purchase a new computer with more RAM, etc at this time.
>
>All suggestions are appreciated.
>
>Thank you in advance.

Allan,

Sounds like a vfp memory leak

Do you use chrtran() frequently in the program ?
Do you use SafeArrays which you do not destroy ?
Do you use api handles which do not get closed properly ? (eg internet/ftp/, ...)

Also [ though this won't solve it ] try to set sys(3050) at the start of your main - it will make vfp less hungry for memory
=sys(3050,1, 64 * 1024 * 1024)
=sys(3050,2, 16 * 1024 * 1024)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform