Using dbcc tune (cleanup)

Adaptive Server performs redundant memory cleanup checking as a final integrity check after processing each task. In very high throughput environments, you may realize a slight performance improvement by skipping this cleanup error check. To turn off error checking, enter:

dbcc tune(cleanup,1)

The final cleanup frees any memory a task might hold. If you turn error checking off, but you get memory errors, reenable the checking by entering:

dbcc tune(cleanup,0)