# git-svn: Out of memory while cloning large (cca. 48000 commits) SVN repo

1 messages from 2014-04-28 to 2014-04-28. Participants: Gergely Polonkai.
Thread: https://gitlist.dev/t/36529

## Gergely Polonkai, 2014-04-28 21:26

Subject: git-svn: Out of memory while cloning large (cca. 48000 commits) SVN repo
Message-ID: <CACczBUL0N0D2rqwQ0p=that4ejN-aa-er_DTJvJVh-hax5mxmA@mail.gmail.com>
URL: https://gitlist.dev/e/CACczBUL0N0D2rqwQ0p%3Dthat4ejN-aa-er_DTJvJVh-hax5mxmA%40mail.gmail.com

```
Hello,

I’m trying to clone an SVN repository with around 48000 revisions,
several branches and tags (svn://svn.zabbix.com). After a few
thousands commits, Git failed (complaining something about sed, I
haven’t wrote that down), so I svnrdumped the whole repository onto my
filesystem.

After that, I used this command:

git svn clone -s --prefix=origin/ file://`pwd`/zabbix-svn zabbix-git/

to dump all the repo into a new Git repository. It ran for around 24
hours to report an Out of memory error at the end. Although I realised
since then that this was a somewhat bad idea, I still don’t think
it should happen this way. Or should it?

Best,
Gergely

```
