Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » 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

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: and
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: 1105
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
Previous Topic:GitHub connector for EGit v3
Next Topic:Forgot adding files to commit
Goto Forum:

Current Time: Mon Dec 09 10:14:59 GMT 2019

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

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

Back to the top