Out of memory error in _ensure_content on auto repacking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
Running command
bzr commit -m "my comment"
On 2 or 3 modified small text files produces the output:
committing to: .....
modified .....
modified .....
aborting commit write group: Memory Error()
bzr: out of memory
System:
bzrlib v2.1.1
QBzr v0.1.8.4
Python v2.5.4
Windows 7 Pro 64bit, 6gb RAM.
Repository is ~30mb, ~5000 files version controlled.
Commit is bound to network accessible folder / branch.
Here is the entire .bzr.log file generated from the command
bzr commit -m 'my comment'
The critical bit is...
0.597 Adding the key (<bzrlib.
2.220 aborting commit write group because of exception:
-----begin file-----
this is a debug log for diagnosing/
you can delete or truncate this file, or include sections in
bug reports to https:/
Wed 2010-07-07 13:13:11 +1000
0.048 bazaar version: 2.1.1
0.050 bzr arguments: [u'commit', u'-m', u'my comment']
0.059 looking for plugins in C:/Users/
0.060 looking for plugins in C:/Program Files (x86)/Bazaar/
0.150 encoding stdout as sys.stdout encoding 'cp850'
0.176 opening working tree 'C:/Dev/
0.261 preparing to commit
[ 2044] 2010-07-07 13:13:12.283 INFO: Committing to: V:/Proj1/userAA1/
0.368 Selecting files for commit with filter None
[ 2044] 2010-07-07 13:13:12.358 INFO: modified src/Tests/
[ 2044] 2010-07-07 13:13:12.361 INFO: modified src/Tests/
[ 2044] 2010-07-07 13:13:12.361 INFO: modified src/Tests/
0.492 Auto-packing repository GCRepositoryPac
0.495 repacking 10 revisions
0.502 repacking 10 inventories
0.507 repacking chk: 10 id_to_entry roots, 5 p_id_map roots, 77 total keys
0.562 repacking 60 texts
0.597 Adding the key (<bzrlib.
2.220 aborting commit write group because of exception:
2.222 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
MemoryError
[ 2044] 2010-07-07 13:13:14.140 INFO: aborting commit write group: MemoryError()
2.295 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
MemoryError
2.297 Transferred: 0KiB (0.0K/s r:0K w:0K)
2.298 return code 3
-----end file-----
Related branches
- Andrew Bennetts: Approve
-
Diff: 289 lines (+99/-42)4 files modifiedNEWS (+3/-0)
bzrlib/groupcompress.py (+69/-39)
bzrlib/tests/per_lock/test_lock.py (+1/-1)
bzrlib/tests/test_groupcompress.py (+26/-2)
- Jelmer Vernooij (community): Approve
- Martin Packman: Pending requested
-
Diff: 881 lines (+472/-34)7 files modifiedbzrlib/_groupcompress_pyx.pyx (+67/-4)
bzrlib/delta.h (+35/-2)
bzrlib/diff-delta.c (+89/-10)
bzrlib/groupcompress.py (+86/-18)
bzrlib/tests/test__groupcompress.py (+78/-0)
bzrlib/tests/test_groupcompress.py (+108/-0)
doc/en/release-notes/bzr-2.4.txt (+9/-0)
description: | updated |
Changed in bzr: | |
status: | Confirmed → Incomplete |
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Karl Bielefeldt (kbielefe) |
Changed in bzr: | |
status: | In Progress → Confirmed |
assignee: | Karl Bielefeldt (kbielefe) → nobody |
Changed in bzr: | |
milestone: | none → 2.3b4 |
assignee: | nobody → John A Meinel (jameinel) |
Changed in bzr: | |
milestone: | 2.3b4 → 2.3.0 |
tags: | added: autopack memory packs |
Changed in bzr: | |
milestone: | 2.3.0 → none |
summary: |
- Out of memory error on auto repacking + Out of memory error in _ensure_content on auto repacking |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.4b3 |
status: | In Progress → Fix Released |
The commit is triggering an automatic repack, you can separate the two operations by doing an explicit 'bzr pack'.
Can you try that and report whether it's still failing ?