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:
00698785
Vues:
22
>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.

I think you are right. *If* it would be a leak in VFP I dont think it can be returned. But when it is the OS leaking, it sure can (W95, 98, NT4 did it all the time).

>
>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?

RELEASE would be far to simple I guess.


Btw, is iro from the Thunderbirds, or just a good African whine ?
:-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform