VS2015 very slow checkin
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
VS2015 very slow checkin
I'm using VS 2015. When I checkin a file from the Vault Pending Changes window, it takes >30s for the checked out file to show up in the tree list of the Vault Commit window. The slowness is related to the Project.VC.db file. If I close VS, delete the .VC.db file, open VS, then the check in is very fast, but only for a few minutes until the .VC.db file is recreated (309 MB). My understanding is that this file is related to intellisense, but disabling intellisense doesn't keep this file from being created.
This problem has persisted through many versions of VS and Vault.
Checkin is very fast if I use the Vault Client app directly.
[11/30/2017 11:25:29 AM] Version Check: This Vault Standard client is version 10.0.0.736
[11/30/2017 11:25:30 AM] Version Check: Your Vault Standard server is version 10.0.0.736
This problem has persisted through many versions of VS and Vault.
Checkin is very fast if I use the Vault Client app directly.
[11/30/2017 11:25:29 AM] Version Check: This Vault Standard client is version 10.0.0.736
[11/30/2017 11:25:30 AM] Version Check: Your Vault Standard server is version 10.0.0.736
Re: VS2015 very slow checkin
In your Vault Tools - Options - General, do you have either of the ghosting options turned on? If so, turn them off and see if performance improves.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: VS2015 very slow checkin
You might keep the file there, and use the Exclude from Source Control function to get Vault to stop looking at it.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
Re: VS2015 very slow checkin
Thanks for your quick response
Both the ghosting options were turned on. I turned them off, but there was no change in the speed.
Both the ghosting options were turned on. I turned them off, but there was no change in the speed.
Re: VS2015 very slow checkin
Any results from the Exclude from Source Control?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
Re: VS2015 very slow checkin
Sorry, waiting for our IT manager to return from travel....
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
Re: VS2015 very slow checkin
Ok, we added *.VC.db to the exclude list (per attached screenshot), but it didn't make any change to the speed (still ~37 s). I closed and restarted VS before I tested.
Another curiosity is that nobody else in our development group has this problem. The files to be checked in show up within a few seconds.
Another curiosity is that nobody else in our development group has this problem. The files to be checked in show up within a few seconds.
You do not have the required permissions to view the files attached to this post.
Re: VS2015 very slow checkin
If you look at your project file using a text editor (not Visual Studio, unless you unload the project and view the project file), are the *.VC.db files found within the project?
If you look at the Vault repository, are the *.VC.db files found within Vault?
What we were wondering is what would happen if you did not keep those specific files under source control and removed them from Vault?
If you look at the Vault repository, are the *.VC.db files found within Vault?
What we were wondering is what would happen if you did not keep those specific files under source control and removed them from Vault?
Jeff Clausius
SourceGear
SourceGear
Re: VS2015 very slow checkin
I also want to add...
Is the project file checked out when you perform an Add? Try that, or if the .VC.db is in Vault, try checking that out prior to the add. Any change?
Is the project file checked out when you perform an Add? Try that, or if the .VC.db is in Vault, try checking that out prior to the add. Any change?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
Re: VS2015 very slow checkin
The VC.db file is not stored in Vault. (Not listed in the .sln file or Vault Client.) It's a transitory file that is constantly being updated for intellisense. I don't understand why Vault should care about this file....
-
- Posts: 15
- Joined: Thu Nov 30, 2017 1:29 pm
Re: VS2015 very slow checkin
For this solution, there are multiple projects, but the project files and sources are each stored in their own subfolder, i.e. under the folder where the VC.db file exists.
Re: VS2015 very slow checkin
I'd like to take a closer look. Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support