Author |
Topic |
|
kimbo
Senior Member
43 Posts |
Posted - Jan 04 2016 : 09:56:42 AM
|
Hello,
is it possible to limit the size of the database in the "%LOCALAPPDATA%\Microsoft\VisualStudio\12.0\Extensions\<hash>\Data" directory?
I often work with multiple VS instances simultaneously so I have 5 "vs12_" folders with 8gb each (in every folder are ~15 "Proj_" folders with ~500mb each). I don't want to clear the whole database cause some projects are very huge. |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jan 04 2016 : 2:13:03 PM
|
You cannot limit the size of the database because it will grow as necessary, depending on the number of symbols you have in your solution.
On the other hand, you can change the location of the database so you can select a drive where there is plenty of space available: http://docs.wholetomato.com/default.asp?W332 |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jan 04 2016 : 3:59:26 PM
|
If you can live without VA in some of those multiple VS instances, you could launch VS as a different user (that doesn't have VA installed).
Alternatively, in some of those multiple VS instances, you could disable the "Parse all files when opening a project" setting on the Performance page of the VA options dlg (the idea being that you would have some VA features in those instances, but the symbol database will only grow as files are opened -- though running some commands like Find References will cause the full parse to occur).
Note that pressing the Rebuild button in the VA options dlg only affects the VS instance number that is active. If you have 5 instances running and press rebuild in the 4th instance, the database of only that instance will be rebuilt. If you restart only that instance, then you will see a rebuild on restart. If you close all 5, then the 4th to start will be rebuilt.
|
|
|
kimbo
Senior Member
43 Posts |
Posted - Jan 05 2016 : 06:32:56 AM
|
Thanks a lot, I will move the database to a bigger SSD. I thought it would be possible to keep only the latest x projects but I know that my scenario isn't very common. |
|
|
|
Topic |
|