MemoryError: out of memory - using bzr branch ftp://

Bug #422230 reported by AscentBuildMaster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Won't Fix
Low
Unassigned

Bug Description

Project contained a folder with reports archives that was in excess of 9Gb in size
bzr branch ftp:// for smaller projects worked o.k.

MEMORY ERROR & EXAMPLE OF WORKING BZR BRANCH CMD

c:\clone>bzr branch ftp://patrick@10.102.142.77/ASCENT_REPOSITORY
FTP patrick@10.102.142.77 password:
bzr: ERROR: exceptions.MemoryError: out of memory
Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 896, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 842, in run_bzr
  File "bzrlib\commands.pyo", line 542, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1045, in run
  File "bzrlib\bzrdir.pyo", line 1116, in sprout
  File "bzrlib\repository.pyo", line 1118, in fetch
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\repository.pyo", line 2985, in fetch
  File "bzrlib\repository.pyo", line 2992, in _pack
  File "bzrlib\repofmt\pack_repo.pyo", line 655, in pack
  File "bzrlib\repofmt\pack_repo.pyo", line 807, in _create_pack_from_packs
  File "bzrlib\repofmt\pack_repo.pyo", line 716, in _copy_revision_texts
  File "bzrlib\repofmt\pack_repo.pyo", line 900, in _copy_nodes_graph
  File "bzrlib\repofmt\pack_repo.pyo", line 923, in _do_copy_nodes_graph
  File "bzrlib\pack.pyo", line 203, in make_readv_reader
  File "bzrlib\transport\__init__.pyo", line 655, in readv
  File "bzrlib\transport\__init__.pyo", line 667, in _readv
  File "bzrlib\transport\ftp\__init__.pyo", line 252, in get
  File "ftplib.pyo", line 395, in retrbinary
MemoryError: out of memory
bzr 1.12 on python 2.5.2 (win32)
arguments: ['bzr', 'branch', 'ftp://patrick@10.102.142.77/ASCENT_REPOSITORY']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.12]
  gtk C:\Program Files\Bazaar\plugins\gtk [0.95.0.final.1]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store
[unknown]
  push_and_update C:\Program Files\Bazaar\plugins\push_and_update [0.2dev]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.8]
  svn C:\Program Files\Bazaar\plugins\svn [0.5.2]
  upload C:\Program Files\Bazaar\plugins\upload [1.0dev]
*** 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.
c:\clone>pwd
'pwd' is not recognized as an internal or external command,
operable program or batch file.
c:\clone>bzr branch ftp://patrick@10.102.142.77/ASCENT_REPOSITORY/Projects/ASCEN
T/ttv_asrun_parser
FTP patrick@10.102.142.77 password:
Branched 1 revision(s).
c:\clone>bzr branches ftp://patrick@10.102.142.77/ASCENT_REPOSITORY/Projects/ASC
ENT/ttv_asrun_parser
FTP patrick@10.102.142.77 password:

Tags: ftp

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

This is a known limitation of the current ftp implementation (it holds a copy of the downloaded in file in memory).

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
tags: added: ftp
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Low
tags: removed: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Won't Fix
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.