Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Limit Database Size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kimbo
Senior Member

43 Posts

Posted - Jan 04 2016 :  09:56:42 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 04 2016 :  3:59:26 PM  Show Profile  Reply with Quote
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.
Go to Top of Page

kimbo
Senior Member

43 Posts

Posted - Jan 05 2016 :  06:32:56 AM  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000