git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn -- out of memory

From
Alfred M. Szmidt <ams@gnu.org>
Date
Feb 14, 2009, 10:40 UTC
Message-ID
<1234608003.115771.3468.nullmailer@beryx.hq.kred>
Hi,

when doing a `git svn clone' on a subversion repository that contains a large file (>1GiB), `git svn' dies with the following:

ams@trillian:~$ git svn clone REPO -T trunk -b branches -t tags [...] fatal: Out of memory? mmap failed: Cannot allocate memory hash-object -w --stdin-paths: command returned error: 128

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

Doing a `git repack' doesn't help either. Anyone got a clue how to either solve, or work around this?

git version 1.6.1.3
Cheers.
Next: Eric Wong
Message 1 of 2 in “git-svn -- out of memory”
  1. Alfred M. SzmidtFeb 14, 2009
  2. Eric WongFeb 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.