bzr heads consumes > 3GB of memory
bialix at ukr.net
Mon Nov 24 21:55:46 GMT 2008
Nicholas Allen пишет:
> I branched an svn repository with bazaar. It has around 60000 revisions
> in it. When I run "bzr heads" in the shared repository all my available
> RAM (> 3GB) is consumed and bzr crashes with an out of memory exception.
> This command should be instant and use practically no memory. It only
> has to find the revisions that don't have any parent revisions...
I think problem in bzr-svn. heads command try to find all branches recursively,
this means probind *every* subdirectory for valid bzr branch. It seems like
bzr-svn is major slowdown here. I think so because when I'm trying to run
bzr heads in shared repo with 10 branches with bzr-svn installed I have to
killed bzr after 30 minutes. But when I uninstalling bzr-svn then it executes
much much faster.
More information about the bazaar