From: "Paul E. Rybski" <prybski@cs.cmu.edu>
To: git@vger.kernel.org
Subject: running out of memory when doing a clone of a large repository?
Date: Wed, 12 Nov 2008 13:49:52 -0500 [thread overview]
Message-ID: <491B2550.1050005@cs.cmu.edu> (raw)
Hi,
I've recently started evaluating git for use on one of my projects. I
used git-svn to convert a fairly large subversion repository and one of
its branches into two separate git repositories following the
instructions found here:
http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/
>From that, I created a 1.5G repository from the trunk of the subversion
repo and a 1.1G repository from one of the branches. I then tried to
clone the repositories from one machine to another via ssh and the
smaller 1.1G repository of the subversion branch (with 1932 commits)
came over just fine but the larger 1.5G repository of the subversion
trunk (5865 commits) died with the following error:
remote: Counting objects: 48415, done.
remote: warning: suboptimal pack - out of memory
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: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
Is this simply because the git repository is too large for the machine
that's trying to send it over ssh? Is there a way to restrict the
memory usage of git or do I need to get more RAM or somehow not import
the full subversion history of my original trunk?
I'm using Ubuntu 8.04.1 on both machines and using the Ubuntu packages
of git version 1.5.4.3. The machine holding the repository is a 5-year
old AthlonXP 3200 with 1G RAM and 32-bit Ubuntu. The machine I'm
cloning the repository on is a more recent Intel Dual Core Quad Q6600
with 4GRAM and 64-bit Ubuntu.
Any advice would be greatly appreciated.
Thanks!
-Paul
--
Paul E. Rybski, Ph.D., Systems Scientist
The Robotics Institute, Carnegie Mellon University
Phone: 412-268-7417, Fax: 412-268-7350
Web: http://www.cs.cmu.edu/~prybski
next reply other threads:[~2008-11-12 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 18:49 Paul E. Rybski [this message]
2008-11-13 3:22 ` running out of memory when doing a clone of a large repository? Nicolas Pitre
2008-11-13 20:09 ` Paul E. Rybski
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=491B2550.1050005@cs.cmu.edu \
--to=prybski@cs.cmu.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