Re: Git server eats all memory
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 4, 2010, 15:55 UTC
- Message-ID
- <vpqwrs6fk46.fsf@bauges.imag.fr>
- In-Reply-To
- <wesfwyupgrg.fsf@kanis.fr>
Ivan Kanis <expire-by-2010-08-09@kanis.fr> writes:
Show 6 quoted lines
> Hello, > > I am running git 1.7.0.4 on Debian stable. I have compiled git from > source. I am cloning using ssh.The client and the server are running > the same version. The bare repository is 4.5G with various binary files, > I have 6G of memory on my server.
I never tried that size myself, but according to what I read on the mailing list, that should remain within what Git could manage, maybe a bit painfully.
The standard followup question in your case is: is the repository fully packed on the server? If not, maybe "git gc" or "git gc --aggressive" (expansive, but a one-time operation) could help.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/