Out of memory error pulling from a svn branch

Bug #1013189 reported by Federico Bett
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

Bazaar crashes with an out of memory error pulling from a svn branch.

The revision that is causing the crash just removes two files. Svn is able to get the changes correctly.

I've done partial pulls (using -r number) up to the previous revision that causes the error. Pulling just that revision causes the crash. Also I've run bzr pack to avoid auto-repacking.

Contents of bzr.log below

Regards

Thu 2012-06-14 10:56:55 -0300
0.064 bazaar version: 2.5.0
0.064 bzr arguments: [u'pull']
0.065 looking for plugins in C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins
0.079 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.082 Plugin name svn already loaded
0.117 encoding stdout as sys.stdout encoding 'cp850'
0.791 bzr-svn: using Subversion 1.6.6 (), subvertpy 0.8.10
2.009 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.178 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.341 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.510 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.671 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.832 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
2.991 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
3.152 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
3.312 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 333740886, 37328052) to an LRUSizeCache failed. value 80086820 is too big to fit in a the cache with size 41943040 52428800
3.482 Adding the key (<bzrlib.btree_index.BTreeGraphIndex object at 0x02E53030>, 371068938, 73651241) to an LRUSizeCache failed. value 151816310 is too big to fit in a the cache with size 41943040 52428800
3.618 Transferred: 76kB (22.1kB/s r:0kB w:0kB u:76kB)
3.732 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 920, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1131, in run_bzr
  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 1224, in run
  File "bzrlib\branch.pyo", line 1133, in pull
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\branch.py", line 1000, in pull
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\branch.py", line 953, in _basic_pull
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\branch.py", line 873, in _update_revisions
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\branch.py", line 841, in fetch
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\branch.py", line 853, in _fetch_revmetas
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 1652, in fetch
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 1572, in _fetch_revisions
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 1542, in _fetch_revisions_nochunks
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 1482, in _fetch_revision_switch
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\errors.py", line 143, in convert
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 1192, in report_inventory_contents
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 383, in open_file
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 559, in _open_file
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 587, in __init__
  File "C:/Users/Fede/AppData/Roaming/bazaar/2.0/plugins\svn\fetch.py", line 797, in _get_chunked
  File "bzrlib\vf_repository.pyo", line 1563, in iter_files_bytes
  File "bzrlib\groupcompress.pyo", line 1456, in get_record_stream
  File "bzrlib\groupcompress.pyo", line 1609, in _get_remaining_record_stream
  File "bzrlib\groupcompress.pyo", line 1170, in yield_factories
  File "bzrlib\groupcompress.pyo", line 1413, in _get_blocks
  File "bzrlib\groupcompress.pyo", line 244, in from_bytes
  File "bzrlib\groupcompress.pyo", line 219, in _parse_bytes
MemoryError

3.733 return code 3

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.