Rev 4474: Prev patch doesn't help peak mem on Packs because get_record_stream() caches all fulltexts. in http://bazaar.launchpad.net/~jameinel/bzr/1.17-rework-annotate

John Arbash Meinel john at arbash-meinel.com
Thu Jun 18 21:49:01 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/1.17-rework-annotate

------------------------------------------------------------
revno: 4474
revision-id: john at arbash-meinel.com-20090618204840-x1q1wiilwdmjh94q
parent: john at arbash-meinel.com-20090618203531-ak0yojd30oskp07r
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.17-rework-annotate
timestamp: Thu 2009-06-18 15:48:40 -0500
message:
  Prev patch doesn't help peak mem on Packs because get_record_stream() caches all fulltexts.
  however, the final mem did go from 300MB down to 200MB, still up from what I would expect.
-------------- next part --------------
=== modified file 'bzrlib/_annotator_py.py'
--- a/bzrlib/_annotator_py.py	2009-06-18 20:35:31 +0000
+++ b/bzrlib/_annotator_py.py	2009-06-18 20:48:40 +0000
@@ -40,7 +40,6 @@
         # Map from key => number of nexts that will be built from this key
         self._num_needed_children = {}
         self._annotations_cache = {}
-        self._heads_provider = None
 
     def _get_needed_keys(self, key):
         graph = _mod_graph.Graph(self._vf)



More information about the bazaar-commits mailing list