Server 2008 R2 - Metafile Cache Memory Consumption...
There is a special utility from Microsoft:
DynCache.exe1) Copy DynCache.exe to %SystemRoot%\System32.
2) From a command prompt, run:
sc create DynCache binpath= %SystemRoot%\System32\DynCache.exe start= auto type= own DisplayName= "Dynamic Cache Service"
3) Import the DynCache.reg registry file. This registry file contains default settings that you will probably want to modify.
Here it is the whole discussion