# Git SVN fetch failing on large commit

2 messages from 2009-01-29 to 2009-01-29. Participants: Andrew Selder.
Thread: https://gitlist.dev/t/17425

## Andrew Selder, 2009-01-29 01:24

Subject: Git SVN fetch failing on large commit
Message-ID: <loom.20090129T011905-417@post.gmane.org>
URL: https://gitlist.dev/e/loom.20090129T011905-417%40post.gmane.org

```
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, 2009-01-29 03:43

Subject: Re: Git SVN fetch failing on large commit
Message-ID: <loom.20090129T034046-842@post.gmane.org>
URL: https://gitlist.dev/e/loom.20090129T034046-842%40post.gmane.org
In-Reply-To: <loom.20090129T011905-417@post.gmane.org>

```
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?

```
