Since my last comment I've started using VLD with VS2012. Compared with VS2008, the time to shutdown our application (when VLD does its magic to collate any outstanding memory leaks) has lengthened enormously, from about 2 minutes to about 30 minutes. When VLD is disabled via the vld.ini config file, the problem disappears, so this confirms that VLD is the problem.
↧