From 316634a2063759c38ad611f57c73c6f6e1fd2a08 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 May 2016 17:26:33 -0400 Subject: found a bad memory use in git --- doc/todo/smudge.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) 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 + 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. -- cgit v1.2.3