Comment 9 for bug 367545

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 367545] Re: Huge memory usage for bzr branch/checkout

Presumably something in create_delta_index is either badly handling
out-of-memory, or allocating but then not coping well with a large
array. I inspected this and can't see anything wrong at the moment so
it would help to know what line specifically is failing, either by
seeing the disassembly or by rebuilding the extensions with debug
symbols.

'memsize' is an unsigned long but would be better as a size_t: ulong
is not guaranteed to be big enough.