git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Frédéric Heulin" <frederic.heulin@free.fr>
To: git@vger.kernel.org
Subject: [problem] out of memory
Date: Wed, 27 Jan 2010 18:16:36 +0100 (CET)	[thread overview]
Message-ID: <821836537.2475221264612596403.JavaMail.root@spooler9-g27.priv.proxad.net> (raw)

Hi All,

I have a cvs repository I try to convert to git.
I have used cvs2git (1 week old) to get the dumps from cvs.
To be able to do the fast-import import into the new git.
I had to use a bigger machine than mine (the big is 64bits, 8GB ram, mine is 32bits,4GB ram)
because on my machine git ran out of memory.
Once converted, I tried to do a clone, it ran out of memory on my machine.

 - version used for gitc
   - on my machine : 1.6.6.1
   - on the big machine : 1.5.6.5 (debian lenny)

 - Here's the list of the commands that failed out of memory (stop at 2.7GB memory consumed):
git for-each-ref
git rev-list --branches --tags

 - this command succeeded :
git rev-list --branches (80MB consumed)

 - some packing have been done :
git repack -a -d -f 
git pack-ref --all
(on the big machine, it fails on mine)

after the git commands keep failing out of memory, 'git rev-list --branches' included.

 - there is 2159 refs in the repository.

 - git count-objects -v gives :

count: 0
size: 0
in-pack: 133986
packs: 1
size-pack: 365678
prune-packable: 0
garbage: 0

 - I still have a copy of the cvs and git repositories for testing.

Thanks in advance for any help,
Frédéric Heulin.

                 reply	other threads:[~2010-01-27 17:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=821836537.2475221264612596403.JavaMail.root@spooler9-g27.priv.proxad.net \
    --to=frederic.heulin@free.fr \
    --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).