Memory Error on bzr pull

Bug #325245 reported by Kevin Lewis
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

C:\Work\bzr\Clean>bzr branch bzr+ssh://<email address hidden>/bzrroot/server/mysql-6.0-falcon-team/
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "C:\Sw\Python\lib\site-packages\bzrlib\commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "C:\Sw\Python\lib\site-packages\bzrlib\commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "C:\Sw\Python\lib\site-packages\bzrlib\commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "C:\Sw\Python\lib\site-packages\bzrlib\builtins.py", line 879, in run
    hardlink=hardlink, stacked=stacked)
  File "C:\Sw\Python\lib\site-packages\bzrlib\bzrdir.py", line 1119, in sprout
    result_repo.fetch(source_repository, revision_id=revision_id)
  File "C:\Sw\Python\lib\site-packages\bzrlib\repository.py", line 981, in fetch
    find_ghosts=find_ghosts)
  File "C:\Sw\Python\lib\site-packages\bzrlib\repository.py", line 3075, in fetch
    find_ghosts=find_ghosts)
  File "C:\Sw\Python\lib\site-packages\bzrlib\decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "C:\Sw\Python\lib\site-packages\bzrlib\repository.py", line 2803, in fetch
    revision_ids).pack()
  File "C:\Sw\Python\lib\site-packages\bzrlib\repofmt\pack_repo.py", line 585, in pack
    return self._create_pack_from_packs()
  File "C:\Sw\Python\lib\site-packages\bzrlib\repofmt\pack_repo.py", line 718, in _create_pack_from_packs
    self._copy_text_texts()
  File "C:\Sw\Python\lib\site-packages\bzrlib\repofmt\pack_repo.py", line 682, in _copy_text_texts
    self.new_pack.text_index, readv_group_iter, total_items))
  File "C:\Sw\Python\lib\site-packages\bzrlib\repofmt\pack_repo.py", line 803, in _copy_nodes_graph
    write_index, output_lines, pb, readv_group_iter, total_items):
  File "C:\Sw\Python\lib\site-packages\bzrlib\repofmt\pack_repo.py", line 826, in _do_copy_nodes_graph
    izip(reader.iter_records(), node_vector):
  File "C:\Sw\Python\lib\site-packages\bzrlib\pack.py", line 253, in iter_records
    self._read_format()
  File "C:\Sw\Python\lib\site-packages\bzrlib\pack.py", line 294, in _read_format
    format = self._read_line()
  File "C:\Sw\Python\lib\site-packages\bzrlib\pack.py", line 221, in _read_line
    line = self._source.readline()
  File "C:\Sw\Python\lib\site-packages\bzrlib\pack.py", line 185, in readline
    self._next()
  File "C:\Sw\Python\lib\site-packages\bzrlib\pack.py", line 172, in _next
    length, data = self.readv_result.next()
  File "C:\Sw\Python\lib\site-packages\bzrlib\transport\remote.py", line 339, in _handle_response
    data = response_handler.read_body_bytes()
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\message.py", line 280, in read_body_bytes
    self._wait_for_response_end()
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\message.py", line 228, in _wait_for_response_end
    self._read_more()
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\message.py", line 248, in _read_more
    self._protocol_decoder.accept_bytes(bytes)
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\protocol.py", line 912, in accept_bytes
    self.message_handler.protocol_error(exception)
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\protocol.py", line 885, in accept_bytes
    _StatefulDecoder.accept_bytes(self, bytes)
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\protocol.py", line 388, in accept_bytes
    self.state_accept()
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\protocol.py", line 1006, in _state_accept_expecting_bytes
    prefixed_bytes = self._extract_length_prefixed_bytes()
  File "C:\Sw\Python\lib\site-packages\bzrlib\smart\protocol.py", line 927, in _extract_length_prefixed_bytes
    bytes = in_buf[4:end_of_bytes]
MemoryError

bzr 1.7rc2 on python 2.5.2 (win32)
arguments: ['C:\\Sw\\Python\\Scripts\\bzr', 'branch', 'bzr+ssh://<email address hidden>/bzrroot/server/mysql-6.0-falcon-team/
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  danny_plugins C:\Documents and Settings\klewis\Application Data\bazaar\2.0\plugins\danny_plugins [unknown]
  difftools C:\Documents and Settings\klewis\Application Data\bazaar\2.0\plugins\difftools [0.91.0]
  extmerge C:\Documents and Settings\klewis\Application Data\bazaar\2.0\plugins\extmerge [unknown]
  gtk C:\Documents and Settings\klewis\Application Data\bazaar\2.0\plugins\gtk [0.95.0dev1]
  launchpad C:\Sw\Python\lib\site-packages\bzrlib\plugins\launchpad [unknown]
  mysql C:\Documents and Settings\klewis\Application Data\bazaar\2.0\plugins\mysql [0.3.7]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Kevin Lewis (kevin-lewis) wrote :
Revision history for this message
Andrew Bennetts (spiv) wrote :

Hi Kevin,

This looks like a duplicate of bug 303538, which was fixed in bzr 1.11. Please try upgrading to 1.11, and de-duplicate this bug if you still have a problem.

Revision history for this message
Kevin Lewis (kevin-lewis) wrote : Re: [Bug 325245] Re: Memory Error on bzr pull

Upgrading to version 1.11 solved the memory problem I saw. Thank you.

Andrew Bennetts wrote:
> *** This bug is a duplicate of bug 303538 ***
> https://bugs.launchpad.net/bugs/303538
>
> Hi Kevin,
>
> This looks like a duplicate of bug 303538, which was fixed in bzr 1.11.
> Please try upgrading to 1.11, and de-duplicate this bug if you still
> have a problem.
>
> ** This bug has been marked a duplicate of bug 303538
> OverflowError calling fp.read on large repository
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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