Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: All
Jun 30, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Clean Up Your Objects—In the Right Order

Although Microsoft Internet Information Server (IIS) eventually removes your unused database objects (called garbage collection), poor coding can squander the server's resources. If your Web server drags or even fails for no apparent reason, look for connections and objects that haven't been closed. For a high-volume, data-intensive Web site, you can't wait for IIS to do the job. You must clean up your database objects yourself and do so in the right order: close each Recordset and then set the object to Nothing (Set myobject=Nothing).
Ken Cox
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date