First, see bug 408526. This is the same system, and the following commands are run just after the successful completion of the commit:
$ cd ~/bazaar
$ ulimit -d
524288
$ bzr branch netbsd-5.0 mybranch
bzr: ERROR: exceptions.MemoryError:
Traceback (most recent call last):
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line 729, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line 924, in run_bzr
ret = run(*run_argv)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line 560, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/builtins.py", line 1147, in run
source_branch=br_from)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1178, in sprout
result_repo.fetch(source_repository, fetch_spec=fetch_spec)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line 1553, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line 3139, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/fetch.py", line 82, in __init__
self.__fetch()
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/fetch.py", line 108, in __fetch
self._fetch_everything_for_search(search)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/fetch.py", line 136, in _fetch_everything_for_search
stream, from_format, [])
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line 4047, in insert_stream
return self._locked_insert_stream(stream, src_format, is_resume)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line 4089, in _locked_insert_stream
self.target_repo.chk_bytes.insert_record_stream(substream)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/groupcompress.py", line 1369, in insert_record_stream
for _ in self._insert_record_stream(stream, random_id=False):
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/groupcompress.py", line 1423, in _insert_record_stream
for record in stream:
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repofmt/groupcompress_repo.py", line 932, in _filter_id_to_entry
self._chk_id_roots, uninteresting_root_keys):
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/chk_map.py", line 1440, in iter_interesting_nodes
bytes = record.get_bytes_as('fulltext')
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/groupcompress.py", line 419, in get_bytes_as
self._manager._prepare_for_extract()
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/groupcompress.py", line 512, in _prepare_for_extract
self._block._ensure_content(self._last_byte)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/groupcompress.py", line 156, in _ensure_content
self._z_content, num_bytes + _ZLIB_DECOMP_WINDOW)
MemoryError
bzr 1.16.1 on python 2.5.4 (netbsd4)
arguments: ['/usr/pkg/bin/bzr', 'branch', 'netbsd-5.0', 'mybranch']
encoding: '646', fsenc: '646', lang: None
plugins:
bzrtools /usr/pkg/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.16]
launchpad /usr/pkg/lib/python2.5/site-packages/bzrlib/plugins/launchpad [1.16.1]
netrc_credential_store /usr/pkg/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [1.16.1]
*** 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.
If it's running out of memory, it's using more than ~512MB RAM(!).
How many paths are in tree?
How many commits?
Whats the largest file size?
-Rob