Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Fetch Performance
Fetch Performance [message #1336768] Tue, 06 May 2014 15:03 Go to next message
Stephan Klein is currently offline Stephan KleinFriend
Messages: 2
Registered: May 2014
Junior Member

I created a small Git Repo (< 30 Files&Dirs) on a server (in the local network) with ssh access, and a clone of the repo on my local machine where eclipse/egit is running. SSH Key of my local machine is stored at this server.

Git Fetch of this repo from Command Line (mysysgit) works like a charm (< 3 seconds)
In Egit Fetch (from upstream) takes around 30 Seconds.

I executed jstack during the fetch is running and this is the output:
"Worker-4" #31 prio=5 os_prio=0 tid=0x26e9a800 nid=0x22cc runnable [0x2928f000]
java.lang.Thread.State: RUNNABLE
at Method)
at Source)
at Source)
at Source)
at com.jcraft.jsch.IO.getByte(
at com.jcraft.jsch.Session.connect(
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(
- locked <0x14ca3e90> (a org.eclipse.egit.ui.EclipseSshSessionFactory)
at org.eclipse.jgit.transport.SshTransport.getSession(
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(
at org.eclipse.jgit.transport.FetchProcess.executeImp(
at org.eclipse.jgit.transport.FetchProcess.execute(
at org.eclipse.jgit.transport.Transport.fetch(
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.runInWorkspace(

Any ideas how fetch can be speeded up ?

My Configuration is:
- Windows 7 x64
- Eclipse Kepler Service Release 2 (32 bit Version)
- Java 1.7.0_45 (32 bit Version)
- Egit Latest Nightly (
Re: Fetch Performance [message #1336861 is a reply to message #1336768] Tue, 06 May 2014 15:56 Go to previous message
Stephan Klein is currently offline Stephan KleinFriend
Messages: 2
Registered: May 2014
Junior Member
Forgot to mention that the fetch does not retrieve any user data because the repository is up to date in my case.
Previous Topic:change directly in the compare editor will directly be added to index
Next Topic:Quickdiff by comit Changes (like in Aptana)
Goto Forum:

Current Time: Wed May 27 23:03:58 GMT 2020

Powered by FUDForum. Page generated in 0.01553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top