Re: Git server eats all memory
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Aug 6, 2010, 01:51 UTC
- Message-ID
- <AANLkTi=tf51FWkZZFw9cF=pcCyadgp7a9EXK=KQ6GSQS@mail.gmail.com>
- In-Reply-To
- <AANLkTikt7LuhxHhOqPm2P-2hzXP54YThX5FRxF4yCFZu@mail.gmail.com>
On Fri, Aug 6, 2010 at 11:37 AM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 8 quoted lines
> On Thu, Aug 5, 2010 at 4:33 PM, Ivan Kanis > <expire-by-2010-08-10@kanis.fr> wrote: >> I am ready to do whatever to diagnose the problem. I know C pretty well >> and am ready to look into it but I am not sure where to start. > > Try "git pack-objects --all --stdout > /dev/null" on the repo on > server to see if it uses the same amount of memory you saw in cloning. > You can then try debugging that command if it does.
Naah, git pack-objects needs list of commit tips. Try git for-each-ref|cut -c 1-40|git pack-objects --all --stdout > /dev/null
-- Duy