Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object storage
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01111667
Message ID:
01111686
Vues:
13
Hi,
>Resource Leaks: Detecting, Locating, and Repairing Your Leaky GDI Code
>http://msdn.microsoft.com/msdnmag/issues/01/03/leaks/

Tucked in there was something I simply didn't know existed: the /View/Select Columns option on the Task Manager Processes page. Knowing of that a couple of days ago would have been enough to have saved a few hours!

I added the 'GDI Objects' column. With the app running it now fluctuates around the 370-380 mark. When I removed the DeleteObject() fix in the OCX it climbed away and hung when the count hit 10,000. (The count actually stops at *exactly* 10,000 - more than a coincidence ?)

BTW this was a pretty obscure leakage - one of the tech support guys calculated that the user must have changed the ink cartridges about five times before the application hung !

Thanks for the links,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform