This is a Sun/MySQL - Canonical escalation imported into Launchpad by the Canonical Support Team (internal case 6614 )
Original escalation: 2009-11-16 10:12 UTC
It takes more than 10 hours to branch mysql 5.0.
In this attempt it used > 4GB virtual memory, > 3 GB real memory, almost no CPU, almost no disk and almost no network.
Before this try, I tried to check out mysql 5.1 (but without the "time" command). I stopped the command after 8 hours (1.5G transfered, still streaming) when my machine was trashing furiously because of swapping.
This is a brand new MacBook Pro with 4GB memory, and it isn't able to cope with the memory requirements of a command line program that is supposed to download some bits.
steve:mysql austvik$ mkdir mysql
steve:mysql austvik$ cd mysql
steve:mysql austvik$ bzr init-repo .
Shared repository with trees (format: 2a)
shared repository: .
steve:mysql austvik$ time bzr branch lp:mysql-server/5.0 5.0
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: Connection error: while sending GET /~mysql/mysql-server/mysql-5.0/.bzr/repository/packs/27fd486dfda34acee6644eb49b58ddaa.pack: [Errno 60] Operation timed out
steve:mysql austvik$ ls -al
drwxr-xr-x 4 austvik staff 136 Oct 19 19:49 .
drwxr-xr-x 3 austvik staff 102 Oct 19 09:58 ..
drwxr-xr-x 6 austvik staff 204 Oct 19 19:49 .bzr
drwxr-xr-x 3 austvik staff 102 Oct 19 19:49 5.0
steve:mysql austvik$ find 5.0/ | wc -l
steve:mysql austvik$ find .bzr | wc -l
steve:mysql austvik$ bzr --version
Bazaar (bzr) 2.0.1
Python interpreter: /usr/bin/python 2.6.1
Python standard library: /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
Bazaar configuration: /Users/austvik/.bazaar
Bazaar log file: /Users/austvik/.bzr.log
How to fix:
I believe the enormous memory requirements slow things down a lot
I don't care about "bzr: ERROR: Connection error" in this bug report. It is probably a side effect of bazaar using so much memory that the whole computer becomes unresponsive over time.