SmartGit: log window is very slow

I am using SmartGit under Windows 7 to work with a huge GIT repository (~ 400 branches, ~ 12000 tags, ~ 25000 commits) and it takes about 15 seconds to open a log window on it.When it opens, switching the branch visibility also takes a few seconds . Is there something I can do to make Windows responsive?

I've tried everything listed in this answer: https://stackoverflow.com/a/25199391/261217 , nothing helped. smartgit.exe only consumes about 300MB of RAM.

I did the following:

  • Open SmartGit (repo selected by default)
  • Open log window
  • Close log window
  • Close SmartGit

System Information: SmartGit v6.5.2, Windows 7 x64, Intel Core i7-3770, 16 GB RAM

+3


source to share


1 answer


The problem was also caused by may tags in the repository. This is made difficult by disabling some of the tags from SmartGit loading. To do this, do the following:



  • Set the system property smartgit.branch.tagExcludeRegEx

    to tag regex to be disabled (available as of v6.5.3, build # 4165). See the documentation for configuring system properties. You can use negative search to disable all but a few tags.
  • Run git pack-refs --all

    to optimize access to free tags.
+4


source







All Articles