you probably need to increase some of the jgit configuration parameters
(see Gerrit documentation for jgit core parameters )
Set core.packedGitLimit larger than the size of your biggest repository.
This ensures you can serve most requests from memory.
Increase the value of core.streamFileThreshold to a value larger than
the size of the biggest files contained in your repos in case you run a
high-traffic server. Increase maximum heap size for the jvm running the
server accordingly (for high traffic Gerrit sites it's not unusual to use
heap sizes of dozens of GB).
If you are serving a lot of repositories with a lot of traffic you may want
to increase core.packedGitOpenFiles which may also require to increase
the ulimit on file descriptors for the hosting JVM.
In addition you should run git gc on all repositories regularly otherwise
performance will degrade depending on how many objects get changed.
Reported by James.Moger on 2012-05-04 11:46:28
The text was updated successfully, but these errors were encountered: