CHECKPOINT; DBCC dropcleanbuffers;
However, this should not be done on the production server. CHECKPOINT is a data region command that will write dirty buffers to disk so that the following command DBCC dropcleanbuffers them, but DBCC dropcleanbuffers is global, and all data pages DBCC dropcleanbuffers from the buffer cache in this way should be read from disk when used in the next time.
source share