devxlogo

Clean Up Your Objects—In the Right Order

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).

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist