Bazaar should check if it will have enough memory before pushing a branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned | ||
Breezy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
This isn't so much a bug but would help with stuff like https:/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
return StringIO(
MemoryError
bzr 1.4 on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
launchpad /home/crew/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
--------
This issue does not SEEM to be related specifically or actually in any way, save that the parent's parent's parent is based on an svn repository, but the biggest problem is not the inability to branch my code, it is that the failure occurs at the VERY END of the branching upload, so I spend all this bandwidth uploading my branch to launchpad and then as it tries to complete the process with some kind of 3-pass indexing routine, it dies with an egregious memory error and thus I spend all that money on bandwidth for nothing and have to start the entire process again from scratch.
I have tried to apply my own little help to the memory glut that bazaar seems to incur with the included patch to delete some rather large variable once they are no longer needed. The fix is for bzrlib/index.py. This does not totally help, however.
Isn't there SOME WAY of doing all that memory intensive stuff up front and dying early instead of at the very end??? PLEASE??? Save my bandwidth!
Thanks.
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Won't Fix |
Hi,
It's odd that the join is done twice in the original code, we
probably want to fix that regardless.
Could you please send your patch to the mailing list:
<email address hidden> for more discussion.
Thanks,
James