MemoryError checking out large bzr branch in recipe

Bug #947977 reported by Jelmer Vernooij
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

As asked by shnatsel in https://answers.launchpad.net/launchpad/+question/189636:

I'm trying to apply a trivial patch to packaging of qt4-x11 in a recipe to get the most recent version patched and uploaded to PPA
automatically, but bzr gives me a memory error. Is there anything I can do about it? Here's the recipe: https://code.launchpad.net/~elementary-os/+recipe/elementary-os-qt4-x11-patch

The MemoryError is occurring while checking out the branches for the recipe.

11:07 < wgrant> jelmer: https://code.launchpad.net/~elementary-os/+recipe/elementary-os-qt4-x11-patch dies with a bzr MemoryError... do you
                want a bug?
11:07 < wgrant> Using 800MB so far in my test.
11:11 -!- danhg [~anonymous@88.pool85-50-220.dynamic.orange.es] has quit [Ping timeout: 260 seconds]
11:11 < jelmer> wgrant: yes, please
11:11 < jelmer> wgrant: any idea what's so particularly big about the branches in that recipe?
11:12 < wgrant> jelmer: Qt :)
11:12 < wgrant> Wow
11:12 < wgrant> 5.4GB so far in bzr's progress meter
11:12 < wgrant> over HTTP
11:12 < wgrant> 431MB on disk so far
11:13 < wgrant> Up to 1GB resident

Newer versions of bzr don't cache files accessed over HTTP anymore; that might help.

Tags: recipe bzr
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in launchpad:
status: New → Confirmed
Changed in launchpad:
importance: Undecided → High
Changed in launchpad:
importance: High → Critical
Curtis Hovey (sinzui)
Changed in launchpad:
status: Confirmed → Triaged
Revision history for this message
Chad Miller (cmiller) wrote :

Do we really need full checkouts in recipes? "bzr export" should probably be the default, with an option to get a branch (or lightweight branch) in the weird case where a packaging tool needs to run "bzr" to get history.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Checkouts are necessary since recipes can contain merge instructions.

Note that Launchpad is now running a newer version of Bazaar which is more efficient; it might succeed now if you try again.

William Grant (wgrant)
tags: added: bzr
William Grant (wgrant)
Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.