/srv/irclogs.ubuntu.com/2013/07/30/#bzr.txt

joakoThe problem I have with bzr is it consumes too much memory. I simply wish to ¨download¨ some code. After 12mb is downloaded 225mb of RAM has been consumed04:16
thumperand that is a problem because...04:20
joakoAfter about 50mb is downloaded approx 500mb is consumed and I am out of memory and bzr abruptly exits with a message ¨Killed¨04:20
joakoIn dmesg there is the message: Out of memory: Kill process 3572 (bzr) score 500 or sacrifice child04:20
joakoI just wish to download the code of launchpad.net but I don´t see any direct download option04:21
SamBjoako: you might want to consider adding some swap04:21
joakoSamB, Yes but why is it so complex to download a software? Why does it need 10x more memory than what it downloads?04:21
SamBjoako: who knows :-(04:22
thumperpython possibly04:22
SamBwhoever knew probably moved on04:22
thumperlifeless probably knows04:22
SamBthumper: pretty sure that's not why04:22
joakoIs there any other way? E.g. in sourceforge.net there is a download zip option direct from the browser04:23
thumperjoako: what are you trying to get?04:32
spivThere's extensive discussions on the list archives about why it consumes so much memory.04:39
spivThe simplest workaround is usually to download incrementally; "bzr branch -r 1000 URL; cd proj; bzr pull -r 2000; bzr pull -r 3000; …"04:40
SamBhmm, true04:41
* SamB couldn't remember if that would actually work until he just now realized "well otherwise 'bzr pull' would always take AGES on lp:launchpad" ...04:43
spiv(Btw, “python” isn't why)04:43
spivWell, mostly ;)04:43
SamByeah, Python can only explain a small amount of it04:43
SamBlike I might believe a 2x-4x lossage to Python04:44
lifelessthumper: oh hiai?05:15
thumperlifeless: joako above was complaining about the memory use of bzr05:16
thumperlifeless: I said you'd probably know why it was as high as he was reporting05:16
lifelessoh05:16
thumperbecause I have NFI05:16
lifelessso  last I recall a big chunk was the slab cache05:16
lifelessif you're pulling off of a smart server it can mostly blat stuff to disk but we still need to do some processing for integrity05:17
SamBlifeless: he was particularly complaining that it's many times as big in RAM as on the wire05:18
lifelessSamB: that's partly because we get 1000's05:20
lifelessSamB: -> 1 compression05:20
SamBprobably it would be better if validation could be performed by reading it back off the disk05:21
lifelessso the thing to do would be to oke at it with jameinel's memory profiler and see where the usage is05:26
lifelessmy bet is on cached gc slabs, which is a tunable tat can be tuned down05:26
lifeless(in exchange for more reads off of disk...)05:26
SamBthat sure beats being OOM killed ...05:30
=== thumper is now known as thumper-afk
karlisHow would you go about creating a folder in launchpad? Something like lp:~team/project/container-folder/branch?07:10
thumperkarlis: you can't08:24
karlisthumper: thats what i started to figure08:27
thumperkarlis: branches are a flat namespace in launchpad on a project08:27
thumperwell, flat in that it goes ~owner/project/name08:27
thumperso that tuple has to be unique08:27
thumperno folders08:27
thumperit complicates traversal08:28
karlisSo what is the convention? I just create my structure locally and push the branches straight to my project?08:29
karlisSeems things could get cluttered if you make to many release branches.08:29
karlisthumper: Ether way thank you for the explanation08:30
thumperwell, it depends08:30
thumperlaunchpad tracks merges,08:31
thumperso if a branch is merged into trunk, it gets marked as merged08:31
thumperso doesn't show up in the default branch listing08:31
thumpernormally you'd have the development focus series branch set08:31
thumperit becomes the short lp:project name08:31
thumperother series can have linked branches too08:31
thumperto be lp:project/series08:31
karlisGood to know08:39
karlisThanks btw ;)09:54
karlisIs there a way i could move branches around my repository. But so they change there bound URI to an appropriate destination on the bzr server?12:23
karlisI guess what I'm asking is there a bzr way to do mv,init,bind?12:24
maxbI can't underderstand what you're trying to do12:25
karlisi want to move a branch from folder dev to merged12:26
maxbIf you want to move whole branches around on disk, you just do it (subject to the restriction that if they use a shared repository, you can't move them outside it)12:27
karlisI guess that makes perfect sense if i think about it12:32
gakinsI'm having permission problems with bazaar.  (I'm also new to bazaar so forgive me if this is stupid).  It looks like when I do a bar pull that I'm can't access the 'lock' did because my user only has read) access.  Is it sufficient to give a 'group' write access to the entire project directory?  Or is there more finesse required?15:10
gakinsbzr pull.. not bar pull (Stupid autocorrect)15:10
mgztry creating a new branch from what you're trying to pull from15:11
gakinsNo.  I have a local repo which another developer created.  I'm trying to get the most recent code from the remote repo15:11
mgzright, so find the url of the remote repo `bzr info`15:12
mgzthen create a new branch `bzr branch REMOTE NEW-LOCAL`15:12
mgzyou can fiddle with the bits you have on disk if you like, but it's just as easy to get a new copy of what you actually want15:13
gakinsIt appears that you're saying just to ignore the current local branch and create a new one.. am I understanding that correctly?15:13
gakinsmgz:Ah.. OK  Thanks!15:14
mgzyup. there are other options, but that's simple and doesn't matter how screwed up the perms are with what you have currently.15:14
=== Vorpal_ is now known as Vorpal

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!