diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-04-19 13:46:11 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-04-19 13:55:29 -0400 |
commit | dbfc00e2a6ad99200da35f75f889174cd7bfd195 (patch) | |
tree | 9d8a9d1353ab10376183c1bda881fface04b6fcb /doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn | |
parent | 41b7950285ef1e91b80c441c2be68a1ef4d0d27c (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before Q3 2015.
Command line used:
for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --pretty=oneline -- "$d")" ]; then git rm -- "$f"; git rm -rf "$d"; fi; done
for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --pretty=oneline -- "$d")" ]; then git rm -- "$f"; git rm -rf "$d"; fi; done
Diffstat (limited to 'doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn')
-rw-r--r-- | doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn b/doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn deleted file mode 100644 index 68c875f9c..000000000 --- a/doc/bugs/git_pack-objects_eats_all_teh_ram.mdwn +++ /dev/null @@ -1,21 +0,0 @@ -### Please describe the problem. - -I'm running git annex sync <remote> sync'ing a local direct mode remote to a local indirect mode remote. - -As part of this process, git annex is running git pack-objects --keep-true-parents --honor-pack-keep --non-empty --all. - -This eats all of my raspberry pi's ram for lunch. I think it even starts swapping, which would explain why it never seems to complete. - -It's unclear why this is eating all my RAM, as I don't think I used to have this problem, and my repo didn't recently dramatically grow in size. (I added < 100 multi-gb files, but that shouldn't make a difference here, I think.) - -Anyway It would be nice if there were a way to get git-annex to pass a sensible -window-memory here. I'm trying to use a wimpy machine, but I'm sure this could be a problem on a bigger machine too. - -### What version of git-annex are you using? On what operating system? - -$ git-annex version -git-annex version: 5.20141024-g613f396 - -$ uname -a -Linux raspberrypi 3.18.5+ #744 PREEMPT Fri Jan 30 18:19:07 GMT 2015 armv6l GNU/Linux - -> [[done]]; not a git-annex bug AFAICS. --[[Joey]] |