summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-12 17:26:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-12 17:26:33 -0400
commit316634a2063759c38ad611f57c73c6f6e1fd2a08 (patch)
tree3b9cf4c2e16427b0be0101b4e1d7746c62f4dcd4 /doc
parent3336985c87120ba99ce4bea6053770d790be4cbd (diff)
found a bad memory use in git
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/smudge.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn
index e784f746c..2dffc907d 100644
--- a/doc/todo/smudge.mdwn
+++ b/doc/todo/smudge.mdwn
@@ -54,6 +54,14 @@ git-annex should use smudge/clean filters.
be sorted out first; it would not do for git annex adjust to cause
the whole work tree to be considered to be modified!
+* When git runs the smudge filter, it buffers all its output in ram before
+ writing it to a file. So, checking out a branch with a large v6 unlocked files
+ can cause git to use a lot of memory.
+ (This needs to be fixed in git, but my proposed interface in
+ <http://thread.gmane.org/gmane.comp.version-control.git/294425> would
+ avoid the problem for git checkout, since it would use the new interface
+ and not the smudge filter.)
+
* Eventually (but not yet), make v6 the default for new repositories.
Note that the assistant forces repos into direct mode; that will need to
be changed then, and it should enable annex.thin instead.