~$ free -m
total used free shared buffers cached
Mem: 1010 109 901 0 5 32
-/+ buffers/cache: 71 939
Swap: 1906 397 1509
rune@rao:~/bzr.repo$ du -sh
9,9G .
rune@rao:~/bzr.repo$ bzr info
Shared repository (format: pack-0.92)
Location:
shared repository: .
So I have a shared repository taking up 10GB and less than 10GB memory.
This gives me problems (I run out of memory), when I run bzr check (and other commands).
rune@rao:~/bzr.repo$ cd data
rune@rao:~/bzr.repo/data$ bzr check
bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit <bzrlib.knit._PackAccess object at 0x86de70c> corrupt: While reading {<email address hidden>} got MemoryError()
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2408, in run
check(branch_obj, verbose)
File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 254, in check
repo_result = branch.repository.check([branch.last_revision()])
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1847, in check
return self._check(revision_ids)
File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1851, in _check
result.check()
File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 79, in check
self.check_one_rev(rev_id)
File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 190, in check_one_rev
self._check_revision_tree(rev_id)
File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 234, in _check_revision_tree
ie.check(self, rev_id, inv, tree)
File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 375, in check
self._check(checker, rev_id, tree)
File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 598, in _check
if self.text_sha1 != w.get_sha1(self.revision):
File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 760, in get_sha1
return self.get_sha1s([version_id])[0]
File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 764, in get_sha1s
record_map = self._get_record_map(version_ids)
File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1121, in _get_record_map
self._data.read_records_iter(records):
File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 2639, in read_records_iter
content, digest = self._parse_record(version_id, data)
File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 2545, in _parse_record
% (version_id, e.__class__.__name__, str(e)))
KnitCorrupt: Knit <bzrlib.knit._PackAccess object at 0x86de70c> corrupt: While reading {<email address hidden>} got MemoryError()
bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'check']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_DK.UTF-8'
plugins:
launchpad /usr/lib/python2.5/site-packages/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.
Also I cannot check out this branch on my Windows because it run out of memory (32 bit Windows XP, has 4 GB ram).
Q:\>bzr version
Bazaar (bzr) 2.0.0
Python interpreter: C:\Program Files\Bazaar\python25.dll 2.5.4
Python standard library: C:\Program Files\Bazaar\lib\library.zip
Platform: Windows-XP-5.1.2600-SP3
bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
Bazaar configuration: C:\Documents and Settings\rphilosof\Application Data\baz
aar\2.0
Bazaar log file: C:\Documents and Settings\rphilosof\My Documents\.bzr.log
~$ free -m ~/bzr.repo$ du -sh ~/bzr.repo$ bzr info
total used free shared buffers cached
Mem: 1010 109 901 0 5 32
-/+ buffers/cache: 71 939
Swap: 1906 397 1509
rune@rao:
9,9G .
rune@rao:
Shared repository (format: pack-0.92)
Location:
shared repository: .
So I have a shared repository taking up 10GB and less than 10GB memory.
This gives me problems (I run out of memory), when I run bzr check (and other commands).
rune@rao: ~/bzr.repo$ cd data ~/bzr.repo/ data$ bzr check errors. KnitCorrupt: Knit <bzrlib. knit._PackAcces s object at 0x86de70c> corrupt: While reading {<email address hidden>} got MemoryError()
rune@rao:
bzr: ERROR: bzrlib.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 834, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 790, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 2408, in run branch_ obj, verbose) python2. 5/site- packages/ bzrlib/ check.py" , line 254, in check repository. check([ branch. last_revision( )]) python2. 5/site- packages/ bzrlib/ decorators. py", line 127, in read_locked python2. 5/site- packages/ bzrlib/ repository. py", line 1847, in check revision_ ids) python2. 5/site- packages/ bzrlib/ repository. py", line 1851, in _check python2. 5/site- packages/ bzrlib/ check.py" , line 79, in check check_one_ rev(rev_ id) python2. 5/site- packages/ bzrlib/ check.py" , line 190, in check_one_rev _check_ revision_ tree(rev_ id) python2. 5/site- packages/ bzrlib/ check.py" , line 234, in _check_ revision_ tree python2. 5/site- packages/ bzrlib/ inventory. py", line 375, in check _check( checker, rev_id, tree) python2. 5/site- packages/ bzrlib/ inventory. py", line 598, in _check self.revision) : python2. 5/site- packages/ bzrlib/ knit.py" , line 760, in get_sha1 sha1s([ version_ id])[0] python2. 5/site- packages/ bzrlib/ knit.py" , line 764, in get_sha1s record_ map(version_ ids) python2. 5/site- packages/ bzrlib/ knit.py" , line 1121, in _get_record_map _data.read_ records_ iter(records) : python2. 5/site- packages/ bzrlib/ knit.py" , line 2639, in read_records_iter record( version_ id, data) python2. 5/site- packages/ bzrlib/ knit.py" , line 2545, in _parse_record _.__name_ _, str(e))) knit._PackAcces s object at 0x86de70c> corrupt: While reading {<email address hidden>} got MemoryError()
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
check(
File "/usr/lib/
repo_result = branch.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
return self._check(
File "/usr/lib/
result.check()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ie.check(self, rev_id, inv, tree)
File "/usr/lib/
self.
File "/usr/lib/
if self.text_sha1 != w.get_sha1(
File "/usr/lib/
return self.get_
File "/usr/lib/
record_map = self._get_
File "/usr/lib/
self.
File "/usr/lib/
content, digest = self._parse_
File "/usr/lib/
% (version_id, e.__class_
KnitCorrupt: Knit <bzrlib.
bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/usr/bin/bzr', 'check']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_DK.UTF-8'
plugins:
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Also I cannot check out this branch on my Windows because it run out of memory (32 bit Windows XP, has 4 GB ram).
Q:\>bzr version python25. dll 2.5.4 lib\library. zip XP-5.1. 2600-SP3 lib\library. zip\bzrlib rphilosof\ Application Data\baz rphilosof\ My Documents\.bzr.log
Bazaar (bzr) 2.0.0
Python interpreter: C:\Program Files\Bazaar\
Python standard library: C:\Program Files\Bazaar\
Platform: Windows-
bzrlib: C:\Program Files\Bazaar\
Bazaar configuration: C:\Documents and Settings\
aar\2.0
Bazaar log file: C:\Documents and Settings\