summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/runs_of_of_memory_adding_2_million_files.mdwn15
-rwxr-xr-xstandalone/linux/install-haskell-packages2
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/bugs/runs_of_of_memory_adding_2_million_files.mdwn b/doc/bugs/runs_of_of_memory_adding_2_million_files.mdwn
new file mode 100644
index 000000000..a248d9489
--- /dev/null
+++ b/doc/bugs/runs_of_of_memory_adding_2_million_files.mdwn
@@ -0,0 +1,15 @@
+Make 2 million files and `git annex add` (indirect mode), fails at the end:
+
+<pre>
+add 999996 ok
+add 999997 ok
+(Recording state in git...)
+[2014-06-21 11:49:28 JEST] feed: xargs ["-0","git","--git-dir=/home/joey/tmp/r/.git","--work-tree=/home/joey/tmp/r","add","--"]
+add 999998 ok
+add 999999 ok
+[2014-06-21 11:49:49 JEST] read: git ["--git-dir=/home/joey/tmp/r/.git","--work-tree=/home/joey/tmp/r","diff","--name-only","--diff-filter=T","-z","--","."]
+(Recording state in git...)
+[2014-06-21 11:52:24 JEST] feed: xargs ["-0","git","--git-dir=/home/joey/tmp/r/.git","--work-tree=/home/joey/tmp/r","add","--"]
+Stack space overflow: current size 8388608 bytes.
+Use `+RTS -Ksize -RTS' to increase it.
+</pre>
diff --git a/standalone/linux/install-haskell-packages b/standalone/linux/install-haskell-packages
index 8c6def529..15b968c43 100755
--- a/standalone/linux/install-haskell-packages
+++ b/standalone/linux/install-haskell-packages
@@ -13,7 +13,7 @@
set -e
-if [ ! -d ../haskell-patches ]; then
+if [ ! -d haskell-patches ]; then
cd standalone/linux
fi