Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Client is downloading files very slowly for big repos.
icon9.gif  Client is downloading files very slowly for big repos. [message #1172682] Wed, 06 November 2013 03:05 Go to next message
Manfred von Runkel is currently offline Manfred von RunkelFriend
Messages: 1
Registered: November 2013
Junior Member
Hi,

I'm using JGit there is something strange.

When the client ( a java program with jgit that runs on jboss) tries to clone a repository with files that contains about 411mb (there are files from 1 to 100 mb) it's cloning it very slow, 8 - 12 kb's second.

When i do it with git bash, it clones very fast, it take about 2 minutes to clone the repo.

With the same repository, if there is a file about 27mb it's clone it very fast. My assumption there is some trouble when a repo contains big files or the repo is more than 100mb.

Is anything that i can do to revert this situation?

Extra Information:
JGIT Version Tested: 3.0.0.201306101825 and 3.1.0.201310021548-r
Environment: Linux Centos 6.

Re: Client is downloading files very slowly for big repos. [message #1176657 is a reply to message #1172682] Fri, 08 November 2013 13:24 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
Try to increase jgit's window cache limit to a larger value, if there are large files to be processed
you may need to increase the stream file threshold to a value larger than the biggest file to transfer.

See parameters packedGitLimit and streamFileThreshold in class org.eclipse.jgit.storage.file.WindowCacheConfig.
Previous Topic:GitHub connector for EGit v3
Next Topic:EGit removing stale branches?
Goto Forum:
  


Current Time: Sun Nov 23 19:15:48 GMT 2014

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

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