Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ConnectString not release memory used
Message
 
 
À
20/03/2003 14:28:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00768248
Message ID:
00768693
Vues:
17
Looks like a bug to me but it's SQLGETPROP() that has memory leak. It looses one memory handle ( SYS(1011) ) per each call.

>Hi all
>
>Open Shell Task Manager, see VFP process memory:
>
>run this
>
>h=SQLCONNECT(....)
>FOR I=1 TO 1000000
> y=SQLGETPROP(h,"ConnectString")
>NEXT
>SQLdisCONNECT(h)
>
>Is allocated and never released, approximately 130 bytes for every call.
>
>Is un bug ?
>
>Fabio
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform