Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory leaks / API-calls
Message
De
06/03/2018 23:10:17
 
 
À
06/03/2018 16:58:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Divers
Thread ID:
01658554
Message ID:
01658581
Vues:
105
>if you make a loop with 100 times you must click to make a choice 100 times!

Yep^, just hammered the keyboard a hundred times (cancel or escape). The leak? Slightly over 2 MB on a W10 workstation.

It's a desktop app. In times when people use Electron to develop workstation apps, I should certainly forget about it. I am not writing a C++ system dll here! But
I just cannot accept memory leaks in this tight VFP applicaton. Foxpro is robust and efficient in this area in spite of its old age!

By the way the code forwarded by Tore is not leaking. But it takes a lot of care in the way parameters are passed. Possibly the issue in the code in _system.vcx.

Thanks again for pointing out the source. I clearly lost track as time passed. Thanks as well for the great contributions on your blog. I read them with a lot of interest:-)

Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform