diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlVUq_c3-lrQBculOEUu3yjvdavE7JbvEI <Stig@web> | 2014-07-25 10:02:53 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-07-25 10:02:53 +0000 |
commit | 23687909886b2f34d5a9497c1be6f65bd17fb23e (patch) | |
tree | 58ac475978777993a167054477e002faab41007a /doc | |
parent | e41e10ae40a860dec4001ac81f81f3bd81fed5ca (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/Out_of_memory_error_in_fsck_whereis_find_and_status_cmds/comment_8_cf1f9d0be5da4ba874209d981ff8afc6._comment | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/bugs/Out_of_memory_error_in_fsck_whereis_find_and_status_cmds/comment_8_cf1f9d0be5da4ba874209d981ff8afc6._comment b/doc/bugs/Out_of_memory_error_in_fsck_whereis_find_and_status_cmds/comment_8_cf1f9d0be5da4ba874209d981ff8afc6._comment new file mode 100644 index 000000000..976664a94 --- /dev/null +++ b/doc/bugs/Out_of_memory_error_in_fsck_whereis_find_and_status_cmds/comment_8_cf1f9d0be5da4ba874209d981ff8afc6._comment @@ -0,0 +1,38 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlVUq_c3-lrQBculOEUu3yjvdavE7JbvEI" + nickname="Stig" + subject="comment 8" + date="2014-07-25T10:02:53Z" + content=""" +\"git annex sync\" or \"git annex fsck\" gives me the same problem. This is an annex which has previously been running with the git annex assistant. + +Output is first: + + $ git annex sync + (merging synced/git-annex into git-annex...) + +…then the workstation starts swapping, and after eating 16 GB RAM, and all of 16 GB swap, OOM killer komes for \"git\". + +The process which eats up all the memory is: + + git --git-dir=/home/ssm/annex/.git --work-tree=/home/ssm/annex \ + -c core.bare=false log \ + 7bed443dc22961214f86e65aedb8861affd215d3..refs/heads/git-annex \ + -n1 --pretty=%H + +I _think_ that since a \"-n1\" argument is given, it will only show the log for the last commit in the range, and one could specify \"refs/heads/git-annex\" instead of the range. With just \"refs/heads/git-annex\" instead of the range, it returns a reference instantly. + +The output of git count-objects is + + $ git count-objects -H -v + count: 334758 + size: 6.27 GiB + in-pack: 16600 + packs: 1 + size-pack: 1.70 MiB + prune-packable: 0 + garbage: 0 + size-garbage: 0 bytes + +…and there is 1043 files in the annex. +"""]] |