status: Fixed to run in nearly constant space.

Before, it leaked space due to caching lists of keys. Now all necessary
data about keys is calculated as they stream in.

The "nearly constant" is due to getKeysPresent, which builds up a lot
of [] thunks as it traverses .git/annex/objects/. Will deal with it later.
This commit is contained in:
Joey Hess 2012-03-11 17:15:58 -04:00
parent b086e32c63
commit ff3644ad38
4 changed files with 67 additions and 49 deletions

1
debian/changelog vendored
View file

@ -6,6 +6,7 @@ git-annex (3.20120310) UNRELEASED; urgency=low
* unused: Reduce memory usage significantly. Still not constant
space, but now only needs to store the set of file contents that
are present in the annex in memory.
* status: Fixed to run in nearly constant space.
-- Joey Hess <joeyh@debian.org> Sat, 10 Mar 2012 14:03:22 -0400