Memory-Error during push to svn

Bug #994436 reported by niels
This bug report is a duplicate of:  Bug #882578: Too much memory used when branching. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

I create a bzr branch with bzr branch http://SVN_REP now I try to push some revisions back. Unfortunately I get an Error
1379.291 encoding stdout as sys.stdout encoding 'cp850'
1379.366 opening working tree 'D:/sandboxes/svn_bzr_stdrat/generators'
1385.226 expand branches: [], ['tags', '*']
1385.227 expand branches: ['tags'], ['*']
1477.161 Transferred: 163kB (1.7kB/s r:2kB w:1kB u:160kB)
1477.161 Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\bzrtools\shell.py", line 206, in default
  File "bzrlib\commands.pyo", line 673, in run_argv_aliases
  File "bzrlib\commands.pyo", line 695, in run
  File "bzrlib\cleanup.pyo", line 136, in run_simple
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1361, in run
  File "bzrlib\push.pyo", line 145, in _show_push_branch
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\remote.py", line 551, in push_branch
  File "bzrlib\branch.pyo", line 1142, in push
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\branch.py", line 1153, in push
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\branch.py", line 1116, in update_tags
  File "bzrlib\tag.pyo", line 271, in merge_to
  File "bzrlib\cleanup.pyo", line 132, in run
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "bzrlib\tag.pyo", line 304, in _merge_to_operation
  File "bzrlib\tag.pyo", line 315, in _merge_to
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\tags.py", line 318, in get_tag_dict
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\tags.py", line 94, in resolve_tags_svn_ancestry
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\revmeta.py", line 958, in _iter_reverse_revmeta_mapping_ancestry
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\revmeta.py", line 949, in update_todo
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\util.py", line 142, in next
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\util.py", line 124, in _next
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\revmeta.py", line 996, in _iter_reverse_revmeta_mapping_history
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\revmeta.py", line 918, in iter_reverse_branch_changes
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\metagraph.py", line 573, in iter_reverse_branch_changes
  File "C:/Program Files (x86)/Bazaar-2.5/plugins\svn\metagraph.py", line 556, in add_metaiterator
MemoryError

Any suggestion how I can prevent this?

Revision history for this message
niels (opensource21) wrote :

I thought bug #882578 was a problem with the branch command. In my case I want to push and even if I push nothing I have the problem. At additional info it works at the beginning, but now after some pushes bzr -> svn it fails. Interesting it's the smallest rep we have.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 994436] Re: Memory-Error during push to svn

Am 04/05/12 13:09, schrieb niels:
> *** This bug is a duplicate of bug 882578 ***
> https://bugs.launchpad.net/bugs/882578
>
> I thought bug #882578 was a problem with the branch command. In my case
> I want to push and even if I push nothing I have the problem. At
> additional info it works at the beginning, but now after some pushes bzr
> -> svn it fails. Interesting it's the smallest rep we have.

It's got more to do with the length of the history and the number of
branches/tags.

Cheers,

Jelmer

Revision history for this message
niels (opensource21) wrote :

Hm there exist 10 branches, but I only checkout trunk, so this should not from interests. Only 1500 commits. 317 Tags. Which of this is great?

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

On Fri, May 04, 2012 at 03:14:54PM -0000, niels wrote:
> *** This bug is a duplicate of bug 882578 ***
> https://bugs.launchpad.net/bugs/882578
>
> Hm there exist 10 branches, but I only checkout trunk, so this should
> not from interests. Only 1500 commits. 317 Tags. Which of this is great?
I suspect it's the number of tags that is the issue.

Cheers,

Jelmer

Revision history for this message
niels (opensource21) wrote :

Moved the tags to oldtags-folder on svn-site and everything works now.

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.