Clear Team Foundation Server Data cache
Each application tier for TFS maintains a file cache in order to help users to easily download their files. Now this is good. But over a period of time this folder grows and starts consuming lot of disk space. Some time back i faced this issue and found that cleaning this folder was the only option I had.
Though, it was not suggested anywhere but I took my chance and cleaned the data cache. Everything worked fine. As I deleted the cache folder itself, TFS also created this cache folder again. Yes our team faced some slowdown, but everything was normal after an hour.
Now how to clear tfs data cache?
1. Stop TFS application server.
2. Delete the folder Drive:\%programfiles%\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data. (If you are cautious, rename the folder rather than deleting it. For backup)
3. Start TFS application server.
For more details refer to following MSDN Article : http://msdn.microsoft.com/en-us/library/ms252458.aspx