Note that there are some explanatory texts on larger screens.

plurals
  1. POSuggestions on optimizing the EGit on Eclipse
    primarykey
    data
    text
    <p>I am using EGit on fairly large and complex set of Java projects (more than a million line of code) and a decade worth of history. <br>Here I am facing serious performance issues with EGit, as even small one line change in the Java file causes EGit to re-index for couple of minutes which is slowing the entire system. Indeed, even git command line is bit slow as "git status" takes around a minute from command line, but I can live with this performance issue, &amp; EGit commit dialog slowness issue (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327913" rel="nofollow">link</a>). As I can use git command line to commit, and update, but I don't want to tradeoff my Eclipse performance as that does affect productivity.</p> <p>The following is what I have tried by doing Googling and asking people around:</p> <ol> <li>Added all classes folder in the exclude file. Indeed tried putting the classes folderin .gitignore as well for time being.</li> <li>Gave Egit enough time to finish indexing by keeping the machine ON for a day.</li> <li>Git staging, history and all other Eclipses views are closed in the Eclipse workbench while doing development.</li> <li>Did "git gc" - It made difference on the command line performance, but hardly any difference for EGit.</li> <li>Unchecked Label decorator for Git. Preferences -> General -> Appearance -> Label Decorations.</li> <li>Removed the cygwin from path, as read somewhere in the forum that JGit might be using cygwin for path conversion.</li> <li>Increased window cache from 10 to 70m in Eclipse (Preferences -> Team -> Git -> window cache).</li> </ol> <p>PS: Git repository is pointing to svn remote repository. Also, I am git newbie so might have made some mistake in setup, so please feel free to point out anything.</p> <p>Here is my system information, I don't have much fancy hardware specs, but some RAM to spare (8GB).</p> <ul> <li>git-gui version 0.16 GITGUID </li> <li>git version: 1.7.10.mysysgit.1</li> <li>JDK 1.6_025</li> <li>Eclipse version: 3.7.2 Java EE version with parameters -Xms1536m -Xmx1536m</li> <li>EGit: 1.3.0.201202151440</li> <li>Windows 7 Processor: Core 2 Duo 2.6GHZ</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload