Comment 2 for bug 758652

Revision history for this message
Martin Packman (gz) wrote :

Have you confirmed these are actually garbage collectable cycles, by for instance adding `gc.collect()` in you +memdump page and seeing the branches no longer present? I'd be surprised if even the Python collector let 300MB stay alive for long. If the objects are unreachable, that needs fixing in bzr. If loggerhead is accidentally stashing them somewhere however, that needs changing. Adding a finalize may help things for users of bzrlib, but could also cause confusion about whether a Branch object is dead or not.