out of memory when calling ObjManager.collapse_instance_dicts
Bug #581918 reported by
Gary Poster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Meliae |
Fix Released
|
Medium
|
Gary Poster |
Bug Description
When trying to debug bug 531071, the two good meliae dumps I got caused out of memory errors in meliae. At least one of them happened within ObjManager.
Related branches
Changed in meliae: | |
importance: | Undecided → High |
importance: | High → Medium |
milestone: | none → 0.2.1rc1 |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gary Poster wrote: launchpadlibrar ian.net/ 48622280/ meliae_ oom.diff
> ** Patch added: "meliae_oom.diff"
> http://
>
I think you missed the part later on where we call:
del self.objs[ dict_obj. address]
Which means that we are mutating the self.objs dict. And you aren't
allow to mutate a dict while you iterate it.
It might be possible to build up a list of things to remove, and then
remove them at the end. But the current patch won't work.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkv xvywACgkQJdeBCY SNAAPOxACgk+ d0Lqgwi0pt9XBmb tzNrV2w IhQ+M5Lzx9Z/ cnix6
hEgAnj5a7RP5iY5
=btk/
-----END PGP SIGNATURE-----