On 5/22/06, Linus Torvalds <torvalds@xxxxxxxx> wrote:
On Mon, 22 May 2006, Martin Langhoff wrote: > > Or a slow leak in Perl? The 5.8.8 release notes do talk about some > leaks being fixed, but this 5.8.8 isn't making a difference. > > Working on it. Thanks. Looking at what I did convert, that horrid gentoo CVS tree is interesting. The resulting (partial) git history has 93413 commits and 850,000+ objects total, all in a totally linear history.
Ok, so there's 3 patches posted that should help narrow down the problem. There's a new -L <imit> so that Donnie can get his stuff done by running it in a while(true) loop. Not proud of it, but hey. And there are two patches that I suspect may fix the leak. After applying them, the cvsimport process grows up to ~13MB and then tapers off, at least as far as my patience has gotten me. It's late on this side of the globe so I'll look at the results tomorrow morning. (BTW, I typo-ed Linus' address in the git-send-email invocation. Will resend to him separately) I'll also prep a patch as Linus suggests to do auto-repacking while the import runs so we don't eat up the harddisk.
git would basically cut down the disk usage for a live repo by a factor of 7 or so. _And_ I can do a "git log origin > /dev/null" in about 2.4 seconds. Take that, CVS.
Heh. Faster Gitticat, Kill Kill Kill! martin - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html