summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar vho <vho@web>2014-12-11 16:52:16 +0000
committerGravatar admin <admin@branchable.com>2014-12-11 16:52:16 +0000
commit5961a548fae73cff8515112c0d332818aa92b61f (patch)
treead3923ad070d37f396d0c12389e93f2f8ea37681
parent506e8ead4dbafe3121c4c492575fe4d2470fc9fb (diff)
Added a comment: Trying to make git gc pass with a huge swap
-rw-r--r--doc/forum/repair_stuck_on_ls-tree_command/comment_6_061770159851c0f06a962937dff035b9._comment30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/forum/repair_stuck_on_ls-tree_command/comment_6_061770159851c0f06a962937dff035b9._comment b/doc/forum/repair_stuck_on_ls-tree_command/comment_6_061770159851c0f06a962937dff035b9._comment
new file mode 100644
index 000000000..5f73e65cf
--- /dev/null
+++ b/doc/forum/repair_stuck_on_ls-tree_command/comment_6_061770159851c0f06a962937dff035b9._comment
@@ -0,0 +1,30 @@
+[[!comment format=mdwn
+ username="vho"
+ subject="Trying to make git gc pass with a huge swap"
+ date="2014-12-11T16:52:16Z"
+ content="""
+I have created a 100 GB swap file and ran git gc again.
+It ate my 8 GB of RAM + 38 GB of swap. It ended successfully:
+
+ vincent@berlioz:~/photos2$ time git gc --aggressive
+ Décompte des objets: 2263783, fait.
+ Compression des objets: 100% (2253014/2253014), fait.
+ Écriture des objets: 100% (2263783/2263783), fait.
+ Total 2263783 (delta 1567807), reused 284965 (delta 0)
+ Suppression des objets dupliqués: 100% (256/256), fait.
+ Vérification de la connectivité: 2263783, fait.
+
+ real 110m18.565s
+ user 37m38.225s
+ sys 3m23.457s
+
+Yet the following git annex sync didn't do better than previous ones and took 285 minutes to complete.
+
+I am going to check my hard disk drive to see if there aren't any third party problem.
+
+ vincent@berlioz:~/photos2$ du -sh --exclude=.git/annex
+ 510M .
+
+Yet it shrank by 300 MB.
+
+"""]]