schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 72 forks source link

gimport out-of-memory #322

Open iskiselev opened 6 years ago

iskiselev commented 6 years ago

I'm trying to convert huge git repo to mercurial with hg-git. When I run clone or gimport for the first time, it works while it doesn't crash with out-of-memory (it consumes around 10GB by that time), and I see all imported changes in my mercurail repo after it (~1/10 of all git repo). When I try to run gimport command, to get other parts of my repo, it start importing from start and crash with out-of-memory at the same point.

I was able to import my entire directory when I run pull command from remote server. After it gimport works as expected.