← Back to team overview

bzr-windows team mailing list archive

Re: Bazaar Explorer using over 100MB and "out to lunch for 15 minutes"

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maritza Mendez wrote:
> 
> Using bzr 1.18 and bzr 0.8...
> 
> I just used BE to init a 1.14 repo in an existing project directory.
> I then used BE to 'bzr add' the top-level directory, which has 10485
> entries (directories and files).
> The add went ok.
> It took BE 15 minutes (!!) to refresh the view, during which time
> Application Not Responding.  Memory use peaked at about 102MB.
> When the refresh finally finished, memory use dropped back to 59MB. 
> Still big, but not as big.
> 
> During this time, I had ample time to go to open a DOS shell and do 'bzr
> stat' which virtually instantaneously listed the 10485 added files.
> 
> The content of 'bzr stat' > LIST.TXT is only 620KB.
> 
> Is it possible that BE (Qt) is just not handling strings very
> efficiently?  Just guessing...
> 
> I'm not sure how to write a helpful bug report for this.
> 
> ~M
> 

100MB is not particularly surprising.

I would also say that there is a serious bug with bzr 1.18 and 1.14
repos if you actually enable line-ending conversions. As such, I would
recommend going with bzr 2.0, and the --2a format.

The 15-minutes part is fairly surprising. I don't really know what BE is
doing at that point, though if it just doing something like 'status'
internally, it might be trying to sha1sum all 10k files. On the other
hand, if you have content filters active, that may also be playing a
role, and it is filtering + sha1summing all 10k files.


I'll note that just importing bzrlib and pyqt, etc, gets me to around
20-30MB of memory consumption.

So I would report a bug about bzr-explorer taking a long time to refresh
the view when adding lots of files.

However, I would recommend that you upgrade to the latest version first,
to make sure it hasn't already been fixed.

(Windows installers for 2.0.0 final have just been uploaded.)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq8888ACgkQJdeBCYSNAAPtjQCgxV1y8P1u9Yvg1rURXcbxU3/V
RK4AoMGy/ZwFmuRFsA2JAS8+gnu+UHAT
=Ty/j
-----END PGP SIGNATURE-----



Follow ups

References