Comment 3 for bug 864217

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 864217] [NEW] MemoryError when repacking repository with large numbers of revisions

On Sat, Oct 01, 2011 at 06:11:22PM -0000, Mark Grandi wrote:
> Public bug reported:

> I was trying an experiment where I would convert the linux kernel git
> repository into a bazaar repository. However, when I was using 'fast-
> import', bazaar ran out of memory at "repacking" the repository when i
> had about 16,000 revisions out of 264,207

> Attached is the bzr log (very very long) of when i started the fast-
> import to when it crashed.

> I tried to restart the fast-import, but then I ran into this bug:
> https://bugs.launchpad.net/bzr/+bug/541626 , and now I seem unable to
> complete it because it keeps crashing with that error.

> Also attached is my dxdiag output, which someone on irc told me to add
> so it helps to diagnose the problem.

> The exact procedure I did, was I used git to clone the repository at
> "https://github.com/torvalds/linux.git", then i ran "git fast-export
> --all > linux.fe" to create the fast export file . Then using bazaar
> explorer i ran "bzr fast-import C:/Users/Mark/Desktop/tmp_linux/linux.fe
> C:/Users/Mark/Desktop/tmp_linux_bzr_repo" It took about....15 hours to
> get to the point where it crashed, so be prepared to wait x.x

> ** Affects: bzr
> Importance: Undecided
> Status: New
What version of bzr are you using?

Cheers,

Jelmer