Hopefully you might get some remedy from this post.
So, how did the story start?
A colleague of mine has symptom several weeks after we began to use Git as our source control tool.
Is anyone else having crash issues with Visual Studio whenever you do a Pull? I’m having it hang for up to 10minutes…..most times resulting in a crash.
Of course there were following discussion on the solution. But, no one worked well so far.
And my turn finally came. My Visual Studio went nuts again this morning. And I decided to look into the problem and finally found something interesting.
Firstly, devenv.exe process kept bashing stuff under $repository\.git\objects folder which contained
>= 1000 files
>= 200 sub folders.
500,000 more times…
Did a little bit search, and run across this article http://gitfu.wordpress.com/2008/04/02/git-gc-cleaning-up-after-yourself/
Ran git gc in git bash
Then here’s the result.
And this solved problem significantly. I believe my colleague owes me some kind of medal.