MemoyError on initial commit

Bug #318572 reported by Chris Haynes
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

carmen [~/repo/sites]# bzr commit -m "Initial import"
Committing to: /home/newst0ry/repo/sites/
added admindb
added initdb
added manage
added sd
added sd.cfg
added sd/__init__.py
added sd/admin_data.json
added sd/common.py
aborting commit write group: MemoryError()
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/builtins.py", line 2435, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/workingtree_4.py", line 235, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/mutabletree.py", line 202, in commit
    *args, **kwargs)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commit.py", line 369, in commit
    self._update_builder_with_changes()
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commit.py", line 674, in _update_builder_with_changes
    self._populate_from_inventory()
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commit.py", line 823, in _populate_from_inventory
    content_summary)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/commit.py", line 867, in _record_entry
    ie, self.parent_invs, path, self.work_tree, content_summary)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/repository.py", line 394, in record_entry_contents
    ie.file_id, lines, heads, nostore_sha)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/repository.py", line 456, in _add_text_to_weave
    check_content=False)[0:2]
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/knit.py", line 760, in add_lines
    parent_texts, left_matching_blocks, nostore_sha, random_id)
  File "/home/newst0ry/repo/bzr-1.10/bzrlib/knit.py", line 770, in _add
    line_bytes = ''.join(lines)
MemoryError

bzr 1.10 on python 2.6 (linux2)
arguments: ['/home/newst0ry/bin/bzr', 'commit', '-m', 'Initial import']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
  launchpad /home/newst0ry/repo/bzr-1.10/bzrlib/plugins/launchpad [unknown]
*** 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.
carmen [~/repo/sites]#

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 318572] [NEW] MemoyError on initial commit

Hi Chris,

On Sun, 2009-01-18 at 22:09 +0000, Chris Haynes wrote:
> Public bug reported:
>
> carmen [~/repo/sites]# bzr commit -m "Initial import"
> Committing to: /home/newst0ry/repo/sites/
> added admindb
> added initdb
> added manage
> added sd
> added sd.cfg
> added sd/__init__.py
> added sd/admin_data.json
> added sd/common.py
> aborting commit write group: MemoryError()
> bzr: ERROR: exceptions.MemoryError:
What's the size of the files you are trying to commit ?

Cheers,

Jelmer
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

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.