Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing memory after running a SQL statement
Message
 
 
À
04/10/2004 20:47:45
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00948692
Message ID:
00948694
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Gavin,

Try SYS(1104). See INFO: Undocumented Function SYS(1104) mskb #269284.


>
>I'm working on a Windows service written in VP6.0 that has a number of SQL statements that return a large amount of data into cursors. When the cursors are created they take up a large amount of memory ( in some cases up to 800mb ) which isn't a problem, but when they are closed the memory is not being freed up.
>
>I've tried RELEASE ALL, CLEAR ALL, CLEAR MEMORY, CLOSE DATABASES ALL, but the memory usage remains high. The only way to free the memory seems to be to restart the service.
>
>The service is running on a W2K SP3 Terminal Server with 2GB of RAM, 20GB harddrive and an Intel 2.80GHZ Xeon processor. The data being accessed comes from VFP DBFs.
>
>Does anyone have any ideas why memory would not be released after closing a Cursor?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform