From: Geoff Russell <geoffrey.russell@gmail.com>
To: git@vger.kernel.org
Subject: Large pack causes git clone failures ... what to do?
Date: Tue, 31 Aug 2010 16:46:58 +0930 [thread overview]
Message-ID: <AANLkTi=1iLx=-9gxkGzuhrbpA005VPSp0itkAkOG4D4z@mail.gmail.com> (raw)
Hi,
I did a "git gc" on a repository and ended up with a 4GB pack ... now I
can't clone the repository and get the following:
remote: fatal: Out of memory? mmap failed: Cannot allocate memory
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption
on the remote side.
fatal: index-pack failed
How do I deal with this? I'm running git version 1.6.2.3
I've looked at "git repack --max-pack-size", but which that created new packs it
didn't delete the old monster. If I run gc, how do I tell it about the
max-pack size? It doesn't
seem to support this argument.
Cheers,
Geoff
--
6 Fifth Ave,
St Morris, S.A. 5068
Australia
Ph: 041 8805 184 / 08 8332 5069
http://perfidy.com.au
next reply other threads:[~2010-08-31 7:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 7:16 Geoff Russell [this message]
2010-08-31 18:02 ` Large pack causes git clone failures ... what to do? Shawn O. Pearce
2010-08-31 22:03 ` Geoff Russell
2010-09-01 1:53 ` Geoff Russell
2010-09-01 3:02 ` Geoff Russell
2010-09-01 14:38 ` Shawn O. Pearce
2010-09-06 0:34 ` Geoff Russell
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='AANLkTi=1iLx=-9gxkGzuhrbpA005VPSp0itkAkOG4D4z@mail.gmail.com' \
--to=geoffrey.russell@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).