Branching a kernel-sized tree uses a lot of RAM
Gerald (Jerry) Carter
jerry at samba.org
Tue Jun 20 17:37:36 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerald (Jerry) Carter wrote:
> Funny. I just got some complaints from one of our
> summer developers regarding merge. I'm mirroring
> an svn tree using a simple shell script
> (http://people.samba.org/bzr/jerry/slag/scripts/bzr-svnmirror).
> The SAMBA_4_0 svn tree has about 9000 commits
> so the bzr mirror weighs in about 132M. 104M of that is
> in .bzr/. SO in my case, the memory usage seems to
> related to a large history and not the source of the
> source. But I'm still running some tests to reproduce
> original complaint.
Here's some followup information:
$ wget \
http://download.samba.org/samba/samba/ftp/bzr/SAMBA_4_0.bzr-svn-r16059.tar.bz2
The master URL is http://www.samba.org/~jerry/bzr/SAMBA_4_0.bzr
* "bzr pull" takes between 50 - 60M VSZ
* "bzr merge" takes around 40M
But create a new bzr repo and "bzr branch" and that topped
out at about 350M VSZ. It spent most of the time around
283M.
cheers, jerry
=====================================================================
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFEmCRQIR7qMdg1EfYRAioYAJ44vVYuurREa6/jUhb0O5KPrUJh5wCeOcc2
HqHQCuTJhxujgWBd+H/0jBA=
=D5qk
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list