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

git-svn clone -- runs out of memory

From
JMJack Moore <jhmoore719@verizon.net>
Date
May 19, 2010, 05:51 UTC
Message-ID
<F47FB1C2-3EEB-475C-8874-CBEC45582386@verizon.net>
I'm trying to transition from subversion to git.  I have a very poorly structured subversion repository.  It has multiple (dozens) copies of many (thousands) of binary files that don't change from version to version.  When I "git-svn clone" the repository it takes about 30 hour (yes hours)  to (appears to) retrieve the files.  Then git goes into either a packing or garbage collecting phase and eventually runs out of memory.  I get an error relating to "mmap ... out of memory".  When it runs out of memory the "cloned" repository is ~2.4 GBi.
I don't know what files it's failing on.  I've tried excluding the directories that contain the binary files.  Does anyone have suggestions on isolating the problem or working around the memory limitation?

Thanks Jack

Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “git-svn clone -- runs out of memory”
  1. Jack MooreMay 19, 2010
  2. Ævar Arnfjörð BjarmasonMay 19, 2010

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.