Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory leak when my application FGETS
Message
 
À
04/06/2001 05:04:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00512127
Message ID:
00514447
Vues:
12
>Thanks for your input, Peter. Actually you're right, the app running as a service frees memory but in a strange way: it doesn't immediately give it out to the pool but when another service needs memory it is released to a certain extent so as it can be "torn off by the crowd". What I'm afraid of is that some programs may not know if that partly released memory (or signed to future release) is for reuse...
>
>I don't understand why the memory is not released immediately. While I've scanned a text file and FCLOSED it the memory should be returned to the pool which is not the case at all.
>
>Przemek

Your are sure entitled to feel the danger :
Under NT4 start a FPDos-app when some other tasks are running;
Chance is hight that the new app won't get enough memory. However, once NT detects this, it gets prepared to expand the memory to the swap-file. But not for this app ! So 100 % guaranteed is to quit the app and start it again ... now it's fine. This is NT4's memory manager (W95 is even worse).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform