Dave Ballantyne (4/7/2010)
Do you mean the procedure cache (DBCC FREEPROCCACHE) or the buffer cache(DBCC DROPCLEANBUFFERS) ?Im guessing the former, could potentially be parameter sniffing http://www.sqlpointers.com/2006/11/parameter-sniffing-stored-procedures.html
I like guessing games 🙂
My guess is procedure cache bloat due to ad-hoc queries.
DBCC FREESYSTEMCACHE('SQL Plans');
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi