{"thread":{"id":"19319","subject":"Git-SVN memory error","startedAt":"2009-05-12T17:04:56Z","lastAt":"2009-05-12T17:04:56Z","messageCount":1,"participants":["Alexander Gladysh"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"113669","messageId":"c6c947f60905121004v257e6f72m2a24de12c98dd1ba@mail.gmail.com","threadId":"19319","inReplyTo":null,"subject":"Git-SVN memory error","fromName":"Alexander Gladysh","fromEmail":"agladysh@gmail.com","sentAt":"2009-05-12T17:04:56Z","receivedAt":"2009-05-12T17:04:56Z","isPatch":false,"sender":{"key":"agladysh@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38239?v=4"},"body":"Hi, list!\n\nI'm importing a rather large SVN repository into Git. I'm doing it on\na Synology DS508 NAS PPC box (don't ask me why :-) ). I'm getting an\nout of memory error when trying to import one of commits. Please help\nme to debug/workaround it.\n\nRelevant system information below.\n\nAlexander.\n\nDiskStation> uname -a\nLinux DiskStation 2.6.24 #839 Wed Mar 25 18:30:32 CST 2009 ppc GNU/Linux\n\nDiskStation> git --version\ngit version 1.6.3\n\nDiskStation> sudo ipkg info git\nPackage: git\nVersion: 1.6.3-1\nDepends: zlib, openssl, libcurl, diffutils, rcs, expat\nSuggests: git-manpages\nStatus: install user installed\nSection: net\nArchitecture: powerpc\nmaintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>\nMD5Sum: b92688e018f23fa7a82a504d073fe813\nSize: 5872996\nFilename: git_1.6.3-1_powerpc.ipk\nSource: http://www.kernel.org/pub/software/scm/git/git-1.6.3.tar.gz\nDescription: GIT is a directory tree content manager that can be used\nfor distributed revision control.\n\nDiskStation> free # That is actually AFTER git svn died.\n              total         used         free       shared      buffers\nMem:       516172       501828        14344            0        62656\nSwap:      2586456        29508      2556948\nTotal:      3102628       531336      2571292\n\nDiskStation> git svn fetch # This is the second run. First one failed\nwith the same message.\nIndex mismatch: ba0c6593571c2f4b6b6ceff1b1326b30d0cd9495 !=\nc633473cfe3dd92e536450e48cd1d9cb2da1cdd2\nrereading fe4935bc22756ffdb430f94cd7ce4af898750edb\n\n\tA\tFile1.rar\n        ...\n\tA\tFileN.rar\nfatal: Out of memory, malloc failed\nhash-object -w --stdin-paths: command returned error: 128\n\nerror closing pipe: Bad file descriptor at /opt/libexec/git-core/git-svn line 0\nerror closing pipe: Bad file descriptor at /opt/libexec/git-core/git-svn line 0\n"}]}