From: "Jeffrey Chang" <jeffrey.chang@duke.edu>
To: git@vger.kernel.org
Subject: git clone out of memory. alternatives?
Date: Thu, 27 Mar 2008 22:29:47 -0400 [thread overview]
Message-ID: <beb5fde90803271929u40a98915ifd05234476ab92f9@mail.gmail.com> (raw)
Hello,
I am working with a large-ish git repository set up as a shared
repository. I am the only user of this repository, and I access it
over ssh.
I am running into a problem where I can no longer clone the repository
on a new computer. I get a message that seems to indicate that the
machine with the repository is running out of memory.
xigua:~/remotecvs jchang$ git clone [...]
Initialized empty Git repository in [...]
remote: Generating pack...
remote: Done counting 9122 objects.
remote: Deltifying 9122 objects...
error: git-upload-pack: git-pack-objects died with error.
fatal: git-upload-pack: aborting due to possible repository corruption
on the remote side.
remote: fatal: out of memoryremote:
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
fetch-pack from [...] failed.
xigua:~/remotecvs jchang$
Moving the repository to another machine is not an option, nor is
adding more RAM to that machine.
Is there any way to get around this problem? For example:
- Can I run git clone in a way that uses less memory, such as cloning
a piece of the repository at a time?
- Can I export the entire repository as a file that can be loaded on
my target machine, like "svnadmin dump" for subversion?
- Can I just rsync the repository from another computer that already has a copy?
- Are there any other work-arounds to set up a copy of the repository
on my local machine?
Thanks,
Jeff
next reply other threads:[~2008-03-28 2:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 2:29 Jeffrey Chang [this message]
2008-03-28 3:04 ` git clone out of memory. alternatives? Linus Torvalds
2008-03-28 11:55 ` Johannes Schindelin
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=beb5fde90803271929u40a98915ifd05234476ab92f9@mail.gmail.com \
--to=jeffrey.chang@duke.edu \
--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