Git SVN fetch failing on large commit

2 messages, 1 author, 2016-06-15 · open the first message on its own page

Git SVN fetch failing on large commit

From: Andrew Selder <hidden>
Date: 2016-06-15 22:46:03

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.

Re: Git SVN fetch failing on large commit

From: Andrew Selder <hidden>
Date: 2016-06-15 22:46:03

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.

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help