Today I found my machine slowed down significantly.
Open Resource Manager, slow!
Open the browser. Slow!
From the task manager, we can see that tsvncache.exe occupies 30% MB of memory, and the CPU also frequently occupies more.
Tsvncache.exe is the resident program of tortoisesvn. This program monitors all SVN directories and updates the status of files and folders if any changes are found.
Generally, my svndirectory has more than 2 GB, and hundreds of thousands of files indicate that tsvncache.exe occupies a lot of resources.
The following is the description of tsvncache.exe in tortoisesvn:
Default
Caches all status information in a separate process (tsvncache.exe ). that process watches all drives for changes and fetches the status again if files inside a working copy get modified. the process runs with the least possible priority so other programs don't get hogged because of it. that also means that the status information is not real time but it can take a few seconds for the overlays to change.
Advantage: the overlays show the status recursively, I. e. if a file deep inside a working copy is modified, all folders up to the working copy root will also show the modified overlay. and since the process can send notifications to the shell, the overlays on the left Tree View usually change too.
Disadvantage: the process runs constantly, even if you're not working on your projects. It also uses around und 10-50 MB of Ram depending on number and size of your working copies.
Shell
Caching is done directly inside the shell extension DLL, but only for the currently visible folder. Each time you navigate to another folder, the status information is fetched again.
Advantage: needs only very little memory (around 1 MB of RAM) and can show the status in real time.
Disadvantage: since only one folder is cached, the overlays don't show the status recursively. for big Working Copies, it can take more time to show a folder in Explorer than with the default cache. also the mime-type column is not available.
None
With this setting, the tortoisesvn does not fetch the status at all in explorer. because of that, files don't get an overlay and folders only get a 'normal' overlay if they're versioned. no other overlays are shown, and no extra columns are available either.
Advantage: Uses absolutely no additional memory and does not slow down the Explorer at all while browsing.
Disadvantage: status information of files and folders is not shown in explorer. To see if your working copies are modified, you have to use the "check for modifications" dialog.
I chose to set status cacheto none. tsvncache.exe disappears from the Task Manager Process and the computer speed is normal.