Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing my memory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00698176
Message ID:
00698764
Vues:
21
Hi Peter

iro sample code. I have a dll which I am calling to decompress some char type data. Each time the dll function is called the VFP memory goes up a little - perhaps 5kb or so. This continues throughout the day and slowly the VFP memory usage as reported by taskman goes up.

However, if I minimize the vfp app then the memory usage drops right back down and the *available physical memory* as reported by taskman shows a corresponding increase. This fact implies to me that it cannot be a "plain" memory leak in the dll since then the memory would be really gone and could not be simply returned to the OS by doing a minimize on the vfp app itself - or could it? I am not a expert on this at all.

Anyway, my collegue is sure the dll is memory ok but he is checking again. Is there a way to unload a dll in VFP i.e. the opposite of a DECLARE?

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform