Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Object = Nothing Does not clear Memory
Message
De
08/09/2003 08:40:33
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Set Object = Nothing Does not clear Memory
Divers
Thread ID:
00827018
Message ID:
00827018
Vues:
56
Hi All,

I am developing an application which reads records from a SQL server table and Insert the records in another Application.

Now Other Application requires to create object of data type and call the Insert method of Object to Insert data. For example Customer is Object and every time I have to create Customer Object and call Customer.Insert.

After Insert method I set object to nothing to free up memory. But during Loop I found that Set Object = Nothing just clears up object but not free memory.

This causes problem as 1000 copies of same object are created in Memory (Though in VB it is only one object).

Does VB have something to flush out object from the Physical Memory?

Thanks all..

Regards

Jiten
Répondre
Fil
Voir

Click here to load this message in the networking platform