threads / discuss / 17425

Git SVN fetch failing on large commit

Subject: Git SVN fetch failing on large commit

## tl;dr

2 messages between Jan 29, 2009 and Jan 29, 2009.

replies: 1people: 1as markdown or json

Andrew Selder· Jan 29, 2009, 01:24 UTC · lore
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.
Andrew Selder· Jan 29, 2009, 03:43 UTC · re: Andrew Selder · lore

Re: Git SVN fetch failing on large commit

Andrew Selder <aselder <at> mac.com> writes:
Show 11 quoted lines
> 
> 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?

← back to recent threads