git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alejandro Riveira <ariveira@gmail.com>
To: git@vger.kernel.org
Subject: Re: git gc - out of memory
Date: Sun, 15 Nov 2009 14:44:29 +0000 (UTC)	[thread overview]
Message-ID: <hdp44d$4ml$1@ger.gmane.org> (raw)
In-Reply-To: df1390cc0911141126w1a0c5691p83885053a73f829@mail.gmail.com

El Sat, 14 Nov 2009 20:26:00 +0100, Simon Strandgaard escribió:

> My bare repository is on an OpenBSD machine. I was unaware of the
> importance of git gc until today after investigating a problem with "git
> pull". So there hasn't been run git gc on the repository ever.
> 
> The biggest file in the repository is a 45 mb file. The repository size
> is near 2 gb.
> 
> What can I do?

run « git repack -adf --window=memory » on the repo where memory is
escaled apropiately for your machine ?

See « git help repack »

Regards;

  reply	other threads:[~2009-11-15 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-14 19:26 git gc - out of memory Simon Strandgaard
2009-11-15 14:44 ` Alejandro Riveira [this message]
2009-11-15 18:33   ` Simon Strandgaard
2009-11-16 23:10     ` Alejandro Riveira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hdp44d$4ml$1@ger.gmane.org' \
    --to=ariveira@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).