diff options
author | Ian Clatworthy <ian.clatworthy@internode.on.net> | 2009-03-10 08:08:14 +1000 |
---|---|---|
committer | Ian Clatworthy <ian.clatworthy@internode.on.net> | 2009-03-10 08:08:14 +1000 |
commit | d14162ef465e5bbf7ab7d6fc05a851bb54fd9dec (patch) | |
tree | 2c1e50c7f419d993ea49776638464d317521757a | |
parent | 5804f1f560c28bcaca8fd168e0b9406b297f1b91 (diff) | |
download | python-fastimport-d14162ef465e5bbf7ab7d6fc05a851bb54fd9dec.tar.gz |
make groupcompress space efficient before packing
-rw-r--r-- | processors/generic_processor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/processors/generic_processor.py b/processors/generic_processor.py index ecca7dd..fe83d5a 100644 --- a/processors/generic_processor.py +++ b/processors/generic_processor.py @@ -316,8 +316,10 @@ class GenericProcessor(processor.ImportProcessor): if self._revision_count > self.checkpoint_every: # Free whatever memory we can before packing import gc + from bzrlib.plugins.groupcompress import groupcompress self.cache_mgr.clear_all() gc.collect() + groupcompress._FAST = False self.note("Packing repository ...") self.repo.pack() # To be conservative, packing puts the old packs and |