Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Object = Nothing Does not clear Memory
Message
From
08/09/2003 08:40:33
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Set Object = Nothing Does not clear Memory
Miscellaneous
Thread ID:
00827018
Message ID:
00827018
Views:
54
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
Reply
Map
View

Click here to load this message in the networking platform