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] Tue, 05 November 2013 22:05 Go to next message
Manfred von Runkel is currently offline Manfred von Runkel
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 08:24 Go to previous message
Matthias Sohn is currently offline Matthias Sohn
Messages: 556
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:EGit removing stale branches?
Goto Forum:

Current Time: Fri Aug 29 12:25:38 EDT 2014

Powered by FUDForum. Page generated in 0.01596 seconds