Re: Git server eats all memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> wrote:

> 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.

Hi Mathieu,

I'll give it a shot when I get back to work.

I have done the following:

git repack -adf --window=100 --depth=20 --window-memory=50m

It greatly helps the compression stage that used up all the memory. The
problem is in the next phase when receiving objects. It is a bit strange
as receiving objects should not take up any memory on the server.

Take care,
-- 
Ivan Kanis
http://kanis.fr

Email is a wonderful thing for people whose role in life is to be on
top of things. But not for me; my role is to be on the bottom of
things. What I do takes long hours of studying and uninterruptible
concentration.
    -- Donald Knuth                                                 
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]