Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set to nothing?

Status
Not open for further replies.

RobV

Programmer
Feb 8, 2001
66
NL
Does anybody have experience with server performance or stability by NOT setting references to DLL objects in ASP to nothing? Yours,

Rob.
 
Does it matter? Just always do it and no problems :p Ben
+61 403 395 052
 
Aye, but we have a lot of legacy code where that was not a common practise. I just wanted to know if it was necessary to revise all the code. Yours,

Rob.
 
The setting of an object to nothing diconnects the variable from the object and so frees up system resources fatser and cleaner. The reference will automatically go when the page has left memory anyway. Its just good practice.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top