Skip to contentSkip to conversation

Git SVN fetch failing on large commit

DISCUSSION Andrew Selder 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to import an SVN repository and I'm running into trouble on a huge SVN revision.

One of the revisions in SVN has a 1.25 GB file. When the git svn fetch process gets to this revision, it crashed with the following message:

fatal: Out of memory, malloc failed
hash-object -w --stdin-paths: command returned error: 128

error closing pipe: Bad file descriptor at /usr/local/libexec/git-core//git-svn line 0
error closing pipe: Bad file descriptor at /usr/local/libexec/git-core//git-svn line 0

This is running on a machine with 3 GB of memory (2.5 GB free before starting git svn), Git 1.6.1, Git-svn 1.6.1(svn 1.5.1)

Help would be greatly appreciated.

#1 lore raw
Quoted 6 lines · Andrew Selder <aselder <at> mac.com> writes:

Hi,

I'm trying to import an SVN repository and I'm running into trouble on a huge SVN revision.

Quoted 8 lines

One of the revisions in SVN has a 1.25 GB file. When the git svn fetch process gets to this revision, it crashed with the following message:

fatal: Out of memory, malloc failed
hash-object -w --stdin-paths: command returned error: 128

This is running on a machine with 3 GB of memory (2.5 GB free before starting git svn), Git 1.6.1, Git-svn 1.6.1(svn 1.5.1)

Upgraded to Git 1.6.1.1, but still the same results. I saw the --ignore-paths option online, but it doesn't seem to be in the lastest version. This would probably work for me. Does anybody know when that feature is scheduled for release?