diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-14 11:20:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-14 11:20:34 -0400 |
commit | a40ec5e03e980b7337bf01eca1661a088ee476c2 (patch) | |
tree | 679e1122b6378e2d3f0a64362be3d504ef387c89 /doc/bugs | |
parent | 82ae30d82099782708abd8e3a6fe27abbde04e71 (diff) |
Fixed a memory leak due to excessive strictness when committing journal files.
When hashing the files, the entire list of shas was read strictly.
That was entirely unnecessary, since there's a cleanup action run
after they're consumed.
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/git_annex_add_memory_leak.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_add_memory_leak.mdwn b/doc/bugs/git_annex_add_memory_leak.mdwn index 57ce4c0f9..b6ae60f7b 100644 --- a/doc/bugs/git_annex_add_memory_leak.mdwn +++ b/doc/bugs/git_annex_add_memory_leak.mdwn @@ -27,6 +27,11 @@ A history of the leaks: Apparently fixed in versions afer 3.20120123, but this one is not well understood. +* Committing journal files turned out to have another memory leak. + After adding a lot of files ran out of memory, this left the journal + behind and could affect other git-anne commands. Fixed in versions afer + 3.20120123. + * (Note that `git ls-files --others`, which is used to find files to add, also uses surpsisingly large amounts of memory when you have a lot of files. It buffers |