Skip to main content



      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] Tue, 05 November 2013 22:05 Go to next message
Eclipse UserFriend
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 08:24 Go to previous message
Eclipse UserFriend
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:Forgot adding files to commit
Goto Forum:
  


Current Time: Wed Jul 23 00:10:30 EDT 2025

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

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

Back to the top