I use EGit for a fairly large and complex set of Java projects (over a million lines of code) and a decade of history.
Here I am facing serious performance issues with EGit, since even a small change in one line in the Java file causes EGit to re-index a couple of minutes, which slows down the whole system. Indeed, even the git command line is a bit slow, since "git status" takes about a minute from the command line, but I can live with this performance problem, and the problem is with the delay of the EGit () dialog box. Since I can use the git command line to commit and update, but I do not want to compromise the performance of Eclipse, as this affects performance.
The following is what I tried to do googling and ask people around:
- Added folder of all classes in the exclude file. In fact, I also tried adding the folderin .gitignore folder.
- Give enough time to complete the indexing by holding the machine for a day.
- Git staging, history, and all other header views are closed at the Eclipse workstation during development.
- Did "git gc" - it affected the command line performance, but hardly any difference for EGit.
- Unverified shortcut for git. Settings β General β Appearance β Labels.
- Removed cygwin from the path, as read somewhere in the forum, that JGit can use cygwin to convert the path.
- Increased window cache from 10 to 70 m in Eclipse (Preferences β Team β git β window cache).
PS: git repository points to the remote svn repository. Also, I am a newbie to git, so I might have made a mistake in setting it up, so please feel free to point out something.
Here is my system information, I do not have very fancy hardware specifications, but with some RAM in reserve (8 GB).
- git -gui version 0.16 GITGUID
- Git version: 1.7.10.mysysgit.1
- JDK 1.6_025
- Eclipse version: 3.7.2 Java EE version with parameters -Xms1536m -Xmx1536m
- EGit: 1.3.0.201202151440
- Windows 7 processor: Core 2 Duo 2.6GHZ
source share