threads / discuss / 22412

[problem] out of memory

Subject: [problem] out of memory

## tl;dr

One message between Jan 27, 2010 and Jan 27, 2010.

replies: 0people: 1as markdown or json

Frédéric Heulin· Jan 27, 2010, 17:16 UTC · lore
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.

← back to recent threads