bazaar Memory Error

Noah Massey nmassey at kmbs.konicaminolta.us
Mon Sep 18 20:56:40 BST 2006


MemTotal:       971072 kB
SwapTotal:     1650680 kB

When trying to checkin a 623M file (squashfs filesystem):

bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 612,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 574,
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 283,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1757,
in run
    reporter=reporter)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 51,
in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line
538, in commit
    committed_id = Commit().commit( working_tree=self, revprops=revprops,
  File "/usr/lib/python2.4/site-packages/bzrlib/commit.py", line 287, in
commit
    self._populate_new_inv()
  File "/usr/lib/python2.4/site-packages/bzrlib/commit.py", line 519, in
_populate_new_inv
    path, self.work_tree)
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line
2110, in record_entry_contents
    ie.snapshot(self._new_revision_id, path, previous_entries, tree, self)
  File "/usr/lib/python2.4/site-packages/bzrlib/inventory.py", line 426,
in snapshot
    work_tree, commit_builder)
  File "/usr/lib/python2.4/site-packages/bzrlib/inventory.py", line 441,
in _snapshot_into_revision
    self._snapshot_text(previous_entries, work_tree, commit_builder)
  File "/usr/lib/python2.4/site-packages/bzrlib/inventory.py", line 707,
in _snapshot_text
    self.text_sha1, self.text_size = commit_builder.modified_file_text(
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line
2149, in modified_file_text
    self._add_text_to_weave(file_id, new_lines, file_parents.keys())
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line
2165, in _add_text_to_weave
    versionedfile.add_lines(self._new_revision_id, parents, new_lines)
  File "/usr/lib/python2.4/site-packages/bzrlib/versionedfile.py", line
133, in add_lines
    return self._add_lines(version_id, parents, lines, parent_texts)
  File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 599, in
_add_lines
    return self._add(version_id, lines[:], parents, self.delta,
parent_texts)
  File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 681, in _add
    where, size = self._data.add_record(version_id, digest, store_lines)
  File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1361, in
add_record
    size, sio = self._record_to_data(version_id, digest, lines)
  File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1343, in
_record_to_data
    ["end %s\n" % version_id_utf8]))
  File "/usr/lib/python2.4/site-packages/bzrlib/tuned_gzip.py", line
330, in writelines
    self.write(''.join(lines))
  File "/usr/lib/python2.4/site-packages/bzrlib/tuned_gzip.py", line
322, in write
    self.fileobj.write( self.compress.compress(data) )
MemoryError

bzr 0.10.0 on python 2.4.3.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'commit']

** please send this report to bazaar-ng at lists.ubuntu.com




More information about the bazaar mailing list