git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Large pack causes git clone failures ... what to do?
@ 2010-08-31  7:16 Geoff Russell
  2010-08-31 18:02 ` Shawn O. Pearce
  0 siblings, 1 reply; 7+ messages in thread
From: Geoff Russell @ 2010-08-31  7:16 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-06  0:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31  7:16 Large pack causes git clone failures ... what to do? Geoff Russell
2010-08-31 18:02 ` 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

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