Comment 6 for bug 605480

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 605480] Re: AssertionError on committing rename

On Thu, 2010-07-15 at 07:14 +0000, John A Meinel wrote:
> So... what seems to be happening is that 'create_delta_index' is
> returning NULL. I'm guessing you are running out of memory (if it is
> trying to repack Movies.)
>
> Can you tell us the size of the content you are working with?

I think that it is a memory error. I was trying to mention that on IRC
when I got a stack trace. I'm unsure why it switch from an error to a
full blown trace. Interestingly, I don't ever see the Bazaar process
map all the memory in the system. I think it must be trying to allocate
a bunch all at once when this error occurs.

ted@vee:~/Desktop/Movies$ du -h
917M ./.bzr/repository/obsolete_packs
4.0K ./.bzr/repository/lock
136K ./.bzr/repository/upload
1.5M ./.bzr/repository/indices
5.5G ./.bzr/repository/packs
6.4G ./.bzr/repository
4.0K ./.bzr/branch-lock
4.0K ./.bzr/checkout/lock
60K ./.bzr/checkout
4.0K ./.bzr/branch/lock
56K ./.bzr/branch
6.4G ./.bzr
9.0G .

I'm guessing it might be interesting to know about the individual packs
as well:

ted@vee:~/Desktop/Movies/.bzr/repository/packs$ du -h -a
83M ./71dc01bb401621a3c82503e4ab898b94.pack
21M ./d201e5c85844d0311cd7b7283bb9198e.pack
745M ./dead3f314b7de880b9461523df63a7a6.pack
36M ./7bea5240efe69b01cfb1d2fe2c174f4c.pack
51M ./9a7bb71ed50f435a3ae2d3eaa0418597.pack
83M ./4c626509b02b72194de1e0e308176365.pack
253M ./749f15658f1a897292e9abfe3a0ab822.pack
257M ./410ad3f0f37f19b9f0798574fedbbe20.pack
109M ./1520df8dcef5c1250fb99360c6c19088.pack
958M ./f75cbefa740b612beebf261ddcf2a696.pack
34M ./fa4c13252102830b2c2bc21ff5b34122.pack
10M ./c101405d823e23b84918db6378f1c107.pack
65M ./fb51f4d81734ab89b076317aa1fe7f42.pack
332M ./f0fe95784d9092a5525d3236c4dfbc64.pack
51M ./acd07b5e2e8e670175c0c78149780bf1.pack
257M ./b5cc0183943ad37edccc1c527389caf6.pack
39M ./782a66d7cad04c379308250e280c53ff.pack
39M ./5a8b368f33c558cebbba9ac7281e3ab2.pack
85M ./07a9d095ea56a2328e44ac3ca3027926.pack
29M ./0cff12346f60ad75c83735c40de812e6.pack
895M ./6b1c249ca14e31ffa34402fc96711e1a.pack
67M ./bedbcfe03a6417a0f411807fffa2423a.pack
917M ./5658ae393def4ee8d6998f52080dfcf5.pack
209M ./a319feadbbb2cf55bb00d858d7f683c6.pack
5.5G .

I'm guessing it's trying to combine a couple of them at the time.

Perhaps unrelated, but FYI information. I've got 4GB of RAM, no swap,
running amd64.