Comment 3 for bug 359201

Revision history for this message
Stas Fomin (stas-fomin) wrote :

Analogous bug with big text file:
---------------------------------------------------------------------------------------
D:\temp\bzr-bug>bzr init
Created a standalone tree (format: pack-0.92)

D:\temp\bzr-bug>bzr add
adding fars.sql

D:\temp\bzr-bug>bzr commit -m "Initial commit"
Committing to: D:/temp/bzr-bug/
aborting commit write group: MemoryError()
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 716, in exception_to_return_code
  File "bzrlib\commands.pyo", line 911, in run_bzr
  File "bzrlib\commands.pyo", line 547, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 2789, in run
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\workingtree_4.pyo", line 226, in commit
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\mutabletree.pyo", line 228, in commit
  File "bzrlib\commit.pyo", line 367, in commit
  File "bzrlib\commit.pyo", line 667, in _update_builder_with_changes
  File "bzrlib\commit.pyo", line 814, in _populate_from_inventory
  File "bzrlib\commit.pyo", line 858, in _record_entry
  File "bzrlib\repository.pyo", line 450, in record_entry_contents
  File "bzrlib\repository.pyo", line 512, in _add_text_to_weave
  File "bzrlib\knit.pyo", line 900, in add_lines
  File "bzrlib\knit.pyo", line 973, in _add
  File "bzrlib\knit.pyo", line 1908, in _record_to_data
MemoryError

bzr 1.13 on python 2.5.2 (win32)
arguments: ['C:\\app\\bzr\\bzr.EXE', 'commit', '-m', 'Initial commit']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'en-us'
plugins:
  bzrtools C:\app\bzr\plugins\bzrtools [1.13]
  launchpad C:\app\bzr\plugins\launchpad [unknown]
  netrc_credential_store C:\app\bzr\plugins\netrc_credential_store [unknown]
  qbzr C:\app\bzr\plugins\qbzr [0.9.8]
  svn C:\app\bzr\plugins\svn [0.5.3]
*** 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.

D:\temp\bzr-bug>bzr version
Bazaar (bzr) 1.13
  Python interpreter: C:\app\bzr\python25.dll 2.5.2
  Python standard library: C:\app\bzr\lib\library.zip
  bzrlib: C:\app\bzr\lib\library.zip\bzrlib
  Bazaar configuration: C:\Documents and Settings\stas\Application Data\bazaar\2.0
  Bazaar log file: D:\USERS\TESTER\.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/
---------------------------------------------------------------------------------------